Abstract
Constructor
The widget to search in
Private
_disposedProtected
_filtersProtected
_stateProtected
widgetThe widget to search in
The current index of the selected match.
Whether the search provider is disposed or not.
Abstract
isSet 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.
Abstract
clearDispose 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.
Abstract
endAbstract
highlightHighlight the next match.
The next match if available
Abstract
highlightHighlight the previous match.
The previous match if available.
Abstract
replaceReplace all matches in the widget with the provided text
The replacement text
Optional
options: IReplaceOptionsA promise that resolves with a boolean indicating whether a replace occurred.
Abstract
replaceReplace the currently selected match with the provided text
The replacement text
Optional
loop: booleanOptional
options: IReplaceOptionsA promise that resolves with a boolean indicating whether a replace occurred.
Abstract
startStatic
preserve
Abstract class implementing the search provider interface.