The Highlights package is a subset of the Editor package, and contains API's for creating, maintaining, and applying colored background highlights to regions of text in an editor pane.

For more information about creating highlights styles, refer to the HighlightRegistry class. Note that the central HighlightRegistry instance is registered with the singleton EditorProperties instance.

For more information about apply highlights to regions of text in an editor, refer to the HighlightLayer JavaDoc.