SelectionMatchHighlighter
Defined in: extensions/search/selection.ts:4
Extends
Section titled “Extends”Extended by
Section titled “Extended by”SelectionMatchHighlighter(
editor,options):any
Defined in: extensions/search/selection.ts:4
Parameters
Section titled “Parameters”editor
Section titled “editor”PrismEditor<{ }>
options
Section titled “options”EditorOptions<{ }>
Returns
Section titled “Returns”any
Properties
Section titled “Properties”
optionalapi:SearchAPI
Defined in: extensions/search/selection.ts:10
Search API used by the extension. Can be used get the position of the matches for example. This property is only present after the extension is added to an editor.