Basics of Working with the Editor
This tutorial will lead you through the series of steps showing how to work with the IntelliJ Platform Editor, how to access and modify text it contains, and how to handle events sent to the editor.
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,
Those not found in editor-ui-api package: