Class SearchHandler
Handler for the Loehnert.Lisrt.Scripting.SearchBox.TextSearchControl.
public class SearchHandler
- Inheritance
-
SearchHandler
- Inherited Members
Constructors
SearchHandler(IScriptShell, IEditorService)
Initializes a new instance of the SearchHandler class.
public SearchHandler(IScriptShell parentShell, IEditorService editorService)
Parameters
parentShell
IScriptShellParent shell.
editorService
IEditorServiceEditor service.
Methods
FindNext()
Moves to the next occurrence in the file.
public void FindNext()
FindPrevious()
Moves to the previous occurrence in the file.
public void FindPrevious()
OpenSearchPanel(TextFileViewModel)
Opens the Loehnert.Lisrt.Scripting.SearchBox.TextSearchControl on the given view model and brings it to the front.
public void OpenSearchPanel(TextFileViewModel textViewModel)
Parameters
textViewModel
TextFileViewModelTarget view model.