Microsoft.VisualStudio.Text Namespace

Public classContentTypeChangedEventArgsProvides information about the ContentTypeChanged event.
Public classEncodingChangedEventArgsProvides information for the EncodingChanged event.
Public classNormalizedSnapshotSpanCollectionA read-only collection of SnapshotSpan objects, all from the same snapshot.
Public classNormalizedSpanCollectionA collection of spans that are sorted by start position, with adjacent and overlapping spans combined.
Public classPreContentChangedEventArgsInformation provided before content changes.
Public classSnapshotSpanEventArgsProvides information for events that report changes that affect a span of text.
Public classTextBufferCreatedEventArgsProvides information about a newly created ITextBuffer.
Public classTextContentChangedEventArgsProvides information about an edit transaction on an ITextBuffer.
Public classTextContentChangingEventArgsProvides information about an upcoming edit transaction on a ITextBuffer
Public classTextDataModelContentTypeChangedEventArgsProvides information for the ContentTypeChanged event.
Public classTextDocumentEventArgsProvides information for events raised when an ITextDocument has been created or disposed.
Public classTextDocumentFileActionEventArgsProvides information for events that are raised when an ITextDocument has loaded from or saved to disk.
Public classTextSnapshotChangedEventArgsProvides information about a transaction on a ITextBuffer that causes a new ITextSnapshot to be generated.
Public classTextSnapshotToTextReaderProvides a TextReader facade over a text snapshot.

Public structureEditOptionsOptions applicable to text editing transactions.
Public structureSnapshotPointAn immutable text position in a particular text snapshot.
Public structureSnapshotSpanAn immutable text span in a particular text snapshot.
Public structureSpanRepresents a range.
Public structureVirtualSnapshotPointRepresents a SnapshotPoint that may have virtual spaces.
Public structureVirtualSnapshotSpanRepresents the range between two VirtualSnapshotPoint objects.

Public interfaceIEncodingDetectorAttempts to detect the text encoding associated with a stream.
Public interfaceIExtensionErrorHandlerAllows editor hosts to detect exceptions that get captured at extension points.
Public interfaceIMappingPointA position in a ITextBuffer that can be mapped within a IBufferGraph.
Public interfaceIMappingSpanA span in a ITextBuffer that can be mapped within a IBufferGraph.
Public interfaceINormalizedTextChangeCollectionA normalized list of ITextChange objects. Changes are sorted in ascending order of position, and abutting and overlapping changes are combined into a single change.
Public interfaceIReadOnlyRegionTracks a possibly empty read-only region of text.
Public interfaceIReadOnlyRegionEditRepresents a set of read-only region editing operations (creating and removing read-only regions on an ITextBuffer.
Public interfaceITextBufferA mutable sequence of Unicode (UTF-16) characters.
Public interfaceITextBufferEditRepresents edit operations against a ITextBuffer.
Public interfaceITextBufferFactoryServiceThe factory service for ordinary text buffers.
Public interfaceITextChangeDescribes a single contiguous text change operation on the text buffer.
Public interfaceITextDataModelPrepares the ITextBuffer for presentation in the editor.
Public interfaceITextDocumentRepresents a document in the file system that persists an ITextBuffer.
Public interfaceITextDocumentFactoryServiceRepresents a service that creates, loads, and disposes text documents.
Public interfaceITextEditRepresents a set of editing operations on an ITextBuffer.
Public interfaceITextSnapshotProvides read access to an immutable snapshot of a ITextBuffer that contains a sequence of Unicode characters.
Public interfaceITextSnapshotLineRepresents a line of text from an ITextSnapshot.
Public interfaceITextVersionDescribes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion.
Public interfaceITrackingPointA tracking position in an ITextBuffer.
Public interfaceITrackingSpanA span of text in an ITextBuffer that grows or shrinks with changes to the text buffer. The span may be empty.

Public delegateCustomTrackToVersionProvides a custom implementation of span tracking. This delegate should be implemented by custom tracking spans.
Public delegateDynamicReadOnlyRegionQueryThe callback for notifying read-only regions of edits.

Public enumerationEdgeInsertionModeDefines the edge insertion modes for read-only regions.
Public enumerationFileActionTypesDescribes the type of file action.
Public enumerationPointTrackingModeRepresents tracking modes for ITrackingPoint objects.
Public enumerationPositionAffinityDescribes whether a position in a ITextBuffer that can be thought of as lying between two characters is coupled to the preceding character or the following character.
Public enumerationReloadResultRepresents the possible results of reloading a text document.
Public enumerationSpanTrackingModeRepresents tracking modes for ITrackingSpan objects.
Public enumerationTrackingFidelityModeRepresents special tracking behaviors for ITrackingPoint and ITrackingSpan objects.

Community Additions