AbstractThe current index of the selected match.
Whether the search provider is disposed or not.
AbstractisSet to true if the widget under search is read-only, false if it is editable. Will be used to determine whether to show the replace option.
The number of matches.
AbstractclearDispose of the resources held by the search provider.
If the object's dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
AbstractendAbstracthighlightHighlight the next match.
The next match if available
AbstracthighlightHighlight the previous match.
The previous match if available.
AbstractreplaceReplace all matches in the widget with the provided text
The replacement text
Optionaloptions: IReplaceOptionsA promise that resolves with a boolean indicating whether a replace occurred.
AbstractreplaceReplace the currently selected match with the provided text
The replacement text
Optionalloop: booleanOptionaloptions: IReplaceOptionsA promise that resolves with a boolean indicating whether a replace occurred.
AbstractstartStaticpreserve
Abstract class implementing the search provider interface.