Table of Contents

Class SearchHandler

Namespace
Loehnert.Lisrt.Scripting.SearchBox
Assembly
Loehnert.Lisrt.Scripting.dll

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 IScriptShell

Parent shell.

editorService IEditorService

Editor 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 TextFileViewModel

Target view model.