Editor Highlights

An editor highlight is a text fragment emphasized by a colored background.

Highlights are generated in both Text and Author mode when the following actions generate results:
  • Find/Replace in Files
  • Open/Find Resource
  • Find All
  • Find All Elements
  • XPath in Files
  • Search References
  • Search Declarations

By default, Oxygen XML Editor uses a different color for each type of highlight (XPath in Files, Find/Replace, Search References, Search Declarations, etc.) You can customize these colors and the maximum number of highlights displayed in a document on the Editor preferences page. The default maximum number of highlights is 10000.

You can navigate the highlights in the current document by using the following methods:
  • Clicking the markers from the range ruler, located at the right side of the document.
  • Clicking the Next and Previous buttons () from the bottom of the range ruler.
    Note: When there are multiple types of highlights in the document, the Next and Previous buttons () navigate through highlights of the same type.
  • Clicking the messages displayed in the Results view at the bottom of the editor.
To remove the highlights, you can do the following:
  • Click the Remove all button from bottom of the range ruler.
  • Close the results tab at the bottom of the editor that contains the output of the action that generated the highlights.
  • Click the Remove all button from the results panel at the bottom of the editor.
    Note: Use the Highlight all results in editor button to either display all the highlights or hide them.