共用方式為


Microsoft.VisualStudio.Text.Operations Namespace

Classes

  Class Description
Public class TextUndoRedoEventArgs Provides information about the effect of the undo or redo operation for the UndoRedoHappened event.
Public class TextUndoTransactionCompletedEventArgs Provides information for the UndoTransactionCompleted event.

Structures

  Structure Description
Public structure FindData Represents the set of data used in a search by the ITextSearchService.
Public structure TextExtent Represents the extent of a word.

Interfaces

  Interface Description
Public interface IEditorOperations Defines operations relating to the editor.
Public interface IEditorOperationsFactoryService A service that provides IEditorOperations objects.
Public interface IMergeTextUndoTransactionPolicy Provides the merge policy for undo transactions.
Public interface ITextBufferUndoManager Registers the ITextUndoHistory for a text buffer, listens for change events on a text buffer, and adds ITextUndoPrimitive objects to the ITextUndoHistory.
Public interface ITextBufferUndoManagerProvider Provides an ITextBufferUndoManager for a given ITextBuffer.
Public interface ITextSearchNavigator Navigates between search results on an ITextBuffer and performs text replacements.
Public interface ITextSearchNavigatorFactoryService Creates ITextSearchNavigator objects.
Public interface ITextSearchService Searches a ITextSnapshot with different search options.
Public interface ITextSearchService2 Extends ITextSearchService with methods for searching contents of a ITextSnapshot and helper methods for performing replace operations.
Public interface ITextStructureNavigator Provides methods to navigate text, such as getting word extents.
Public interface ITextStructureNavigatorProvider Gets an ITextStructureNavigator for a given ITextBuffer.
Public interface ITextStructureNavigatorSelectorService Selects and caches ITextStructureNavigator objects based on content type.
Public interface ITextUndoHistory Contains undo transactions.
Public interface ITextUndoHistoryRegistry Maintains the relationship between text buffers and ITextUndoHistory objects.
Public interface ITextUndoPrimitive Represents an atomic operation that knows how to do, undo, and redo itself.
Public interface ITextUndoTransaction Represents a container for ITextUndoPrimitive objects.

Enumerations

  Enumeration Description
Public enumeration FindOptions Represents the options that are used in a search.
Public enumeration TextUndoHistoryState Provides information about the state of an ITextUndoHistory.
Public enumeration TextUndoTransactionCompletionResult Describes the possible results of a transaction completion for an ITextUndoHistory.
Public enumeration UndoTransactionState Holds the state of the transaction.