Overview

This tutorial will lead you through the series of steps showing how to work with the Consulo Editor, how to access and modify text it contains, and how to handle events sent to the editor. * 1. Working With Text * 2. Editor coordinate systems: positions and offsets * 3. Handling Editor Events

Note: The part of the API described in this tutorial only allows operations with text. For operations that require access to the PSI please see the PSI Cookbook section.

See also: The following are referenced in the tutorial: * The editor_basics plugin code sample, * editor-ui-api package, * Those not found in editor-ui-api package: * EditorActionManager, * EditorActionHandler, * TypedActionHandler, * TypedAction.

Related topics: * Action System * Threading Issues