createOccurrenceHighlightPlugin
createOccurrenceHighlightPlugin(
options?):EditorPlugin
Passively highlights every visible occurrence of the word under the caret, the way an editor shows you where a symbol is used without being asked.
Distinct from the selectHighlights/changeAll commands, which put cursors on occurrences; this
only paints, and only within the mounted rows.
Parameters
Section titled “Parameters”options?
Section titled “options?”EditorOccurrenceHighlightPluginOptions