Skip to content

EditorSearchComponent.highlight method

EditorSearchComponent › highlight

Unofficial

Add highlights for specified ranges.

Signature:

highlight(ranges: EditorRange[]): void

Parameters:

Parameter Type Description
ranges EditorRange[] The editor ranges to highlight.

Returns: void

Remarks:

Invokes editor.addHighlights.