Notebook document search provider
If there are results but no match is designated as current, mark a result as current and highlight it.
Set whether the engines should search within selection only or full text.
Update the search in selection mode; it should only be called when user navigates the notebook (enters editing/command mode, changes selection) but not when the searchbox gets focused (switching the notebook to command mode) nor when search highlights a match (switching notebook to edit mode).
The current index of the selected match.
Whether the search provider is disposed or not.
Set 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.
Clear currently highlighted match.
Dispose 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.
Stop the search and clear all internal state.
Get an initial query value if applicable so that it can be entered into the search box as an initial query
Initial value used to populate the search box.
Replace the currently selected match with the provided text
The replacement text.
Whether to loop within the matches list.
A promise that resolves with a boolean indicating whether a replace occurred.
Instantiate a search provider for the notebook panel.
The widget provided is always checked using
isApplicable before calling
The search provider on the notebook panel
Utility for copying the letter case from old to new text.
Generated using TypeDoc