Highlight Component Occurrences
When a component (for example variable or named template) is found at current cursor
position, Oxygen XML Developer Eclipse plugin performs a search over the entire document to find the
component declaration and all its references. When found, they are highlighted both in the
document and in the stripe bar, at the right side of the document.
Note: Oxygen XML Developer Eclipse plugin
also supports occurrences highlight for template modes.
Customizable colors are used:
one for the component definition and another one for component references. Occurrences are
displayed until another component is selected and a new search is performed. All occurrences
are removed when you start to edit the document. This feature is enabled by default. To configure it, open the Preferences dialog box and go to . A search can also be triggered with the contextual menu action. Matches are displayed in separate tabs of the Results view.