Readonly
currentThe current index of the selected match.
Readonly
isReadonly
matchesThe number of matches.
Readonly
stateSignal indicating that something in the search has changed, so the UI should update
Dispose of the resources held by the object.
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.
Highlight the next match
Optional
loop: booleanWhether to loop within the matches list.
The next match if it exists
Highlight the previous match
Optional
loop: booleanWhether to loop within the matches list.
The previous match if it exists.
Replace 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.
Replace the currently selected match with the provided text and highlight the next match.
The replacement text
Optional
loop: booleanWhether to loop within the matches list.
Optional
options: IReplaceOptionsA promise that resolves with a boolean indicating whether a replace occurred.
Base search provider interface
Notes
It is implemented by subprovider like searching on a single cell.