Microsoft.VisualStudio.Text.Operations Namespace

Classes

SearchFileOptions

Parameters passed to indexing service to filter file find results

TextUndoRedoEventArgs

Provides information for the UndoRedoHappened event raised by ITextUndoHistory, about the effect of the undo or redo operation.

TextUndoTransactionCompletedEventArgs

Provides information for the UndoTransactionCompleted event raised by the ITextUndoHistory.

Structs

FileCandidate

Struct to represent the return value of an Indexing Service search query.

FindData

Represents the set of data used in a search by the ITextSearchService.

FinderReplacement

Struct used to report the results of a FindForReplaceAll().

TextExtent

Represents the extent of a word.

Interfaces

IEditorOperations

Defines operations relating to the editor.

IEditorOperations2

Defines operations relating to the editor, in addition to operations defined by IEditorOperations.

IEditorOperations3

Defines operations relating to the editor, in addition to operations defined by IEditorOperations2.

IEditorOperationsFactoryService

A service that provides IEditorOperations objects.

IFinder

An object that is used to perform a variety of find operations on ITextSnapshot. Created via the IFinderFactory.

IFinderFactory

A factory used to create IFinder, which can be used to perform find operations on ITextSnapshots. Created from IFindService.

IFindService

Provides methods creating IFinderFactorys, which are used to search ITextSnapshots.

IIndexedTextSearchService

Service to get indexed full text search capabilities This is a MEF component part, and should be imported as follows: [Import] IIndexedTextSearchService IndexedTextSearchService = null;

IMergeTextUndoTransactionPolicy

Provides the merge policy for undo transactions.

ITextBufferUndoManager

Registers the ITextUndoHistory for a TextBuffer,
listens for change events on a TextBuffer, and adds ITextUndoPrimitive objects to the ITextUndoHistory.

ITextBufferUndoManagerProvider

Provides an ITextBufferUndoManager for a given ITextBuffer. This is a cached factory, and only one ITextBufferUndoManager will ever be created for a given ITextBuffer.

ITextSearchNavigator

Provides a service to navigate between search results on a ITextBuffer and to perform replacements.

ITextSearchNavigator3

Provides a service to navigate between search results on a ITextBuffer and to perform replacements.

ITextSearchNavigatorFactoryService

A service that creates ITextSearchNavigator3 objects.

ITextSearchService

Searches a ITextSnapshot with different search options.

ITextSearchService2

Provides methods for searching contents of a ITextSnapshot. Additionally, provides helper methods for performing replace operations.

ITextStructureNavigator

Provides methods to navigate text, such as getting word extents.

ITextStructureNavigatorProvider

Gets an ITextStructureNavigator for a given ITextBuffer. Component exporters must supply at least one content type attribute"/> to specify the applicable content types.

ITextStructureNavigatorSelectorService

Selects and caches ITextStructureNavigator objects based on content type.

ITextUndoHistory

Contains undo transactions.

ITextUndoHistoryRegistry

Maps context objects to ITextUndoHistory objects and is meant to be exposed by a component part.

ITextUndoPrimitive

Represents an atomic operation that knows how to Do/Undo/Redo itself.

ITextUndoTransaction

Represents a container for ITextUndoPrimitive objects. UndoTransactions are tracked in an UndoHistory.

Enums

FindOptions

Represents the options that are used in a search.

IndexSearchServiceState

An enum represeting the different states an IIndexedTextSearchService can be in.

TextUndoHistoryState

Provides information about the ITextUndoHistory.

TextUndoTransactionCompletionResult

Describes the possible results of a transaction completion for an ITextUndoHistory.

UndoTransactionState

Holds the state of the transaction.