ITextSearchNavigator Interface
Visual Studio 2015
Navigates between search results on an ITextBuffer and performs text replacements.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | CurrentResult | Gets the SnapshotSpan corresponding to the result of the last find operation. |
![]() | ReplaceTerm | Gets or sets the term to use to replace matches. |
![]() | SearchOptions | Gets or sets options to use for a search. |
![]() | SearchSpan | Gets or sets the range of text to search. |
![]() | SearchTerm | Gets or sets the term to search for. |
![]() | StartPoint | Gets or sets the position at which the search is started. |
| Name | Description | |
|---|---|---|
![]() | ClearCurrentResult() | Clears the current result. |
![]() | Find() | Finds the next occurrence of the text matching the SearchTerm. |
![]() | Replace() | Replaces the current result with the ReplaceTerm. |
This interface is a Managed Extensibility Framework (MEF) part, you can get it by importing an ITextSearchNavigatorFactoryService and calling the CreateSearchNavigator method.
Show:

