breandan f51b5e5ef9 Migrate old GitHub links
Preserve line numbers in case we figure out what to do with them later (most are out-of-date anyway)
2015-12-21 13:19:55 -05:00

1.5 KiB

title
Basics of working with the Editor

Source code


This tutorial will lead you through the series of steps showing how to work with the IntelliJ Platform Editor, how access and modify text it contains, and how to handle events sent to the Editor.

Note: The described part of the API allows to operate only with text. If you need to access PSI please see PSI Cookbook section.

See also: editor-ui-api package, Editor.java, EditorImpl.java. CommonDataKeys.java, DataKey.java, AnActionEvent, DataContext

Related topics: Action System