Microsoft.VisualStudio.Text Namespace
| Class | Description | |
|---|---|---|
![]() | ContentTypeChangedEventArgs | Provides information about the ContentTypeChanged event. |
![]() | EncodingChangedEventArgs | Provides information for the EncodingChanged event. |
![]() | NormalizedSnapshotSpanCollection | A read-only collection of SnapshotSpan objects, all from the same snapshot. |
![]() | NormalizedSpanCollection | A collection of spans that are sorted by start position, with adjacent and overlapping spans combined. |
![]() | PreContentChangedEventArgs | Information provided before content changes. |
![]() | SnapshotSpanEventArgs | Provides information for events that report changes that affect a span of text. |
![]() | TextBufferCreatedEventArgs | Provides information about a newly created ITextBuffer. |
![]() | TextContentChangedEventArgs | Provides information about an edit transaction on an ITextBuffer. |
![]() | TextContentChangingEventArgs | Provides information about an upcoming edit transaction on a ITextBuffer |
![]() | TextDataModelContentTypeChangedEventArgs | Provides information for the ContentTypeChanged event. |
![]() | TextDocumentEventArgs | Provides information for events raised when an ITextDocument has been created or disposed. |
![]() | TextDocumentFileActionEventArgs | Provides information for events that are raised when an ITextDocument has loaded from or saved to disk. |
![]() | TextSnapshotChangedEventArgs | Provides information about a transaction on a ITextBuffer that causes a new ITextSnapshot to be generated. |
![]() | TextSnapshotToTextReader | Provides a TextReader facade over a text snapshot. |
![]() | Tracking | Defines position tracking forward and backward in time. |
| Structure | Description | |
|---|---|---|
![]() | EditOptions | Options applicable to text editing transactions. |
![]() | SnapshotPoint | An immutable text position in a particular text snapshot. |
![]() | SnapshotSpan | An immutable text span in a particular text snapshot. |
![]() | Span | Represents a range. |
![]() | VirtualSnapshotPoint | Represents a SnapshotPoint that may have virtual spaces. |
![]() | VirtualSnapshotSpan | Represents the range between two VirtualSnapshotPoint objects. |
| Interface | Description | |
|---|---|---|
![]() | IEncodingDetector | Attempts to detect the text encoding associated with a stream. |
![]() | IExtensionErrorHandler | Allows editor hosts to detect exceptions that get captured at extension points. |
![]() | IMappingPoint | A position in a ITextBuffer that can be mapped within a IBufferGraph. |
![]() | IMappingSpan | A span in a ITextBuffer that can be mapped within a IBufferGraph. |
![]() | INormalizedTextChangeCollection | A normalized list of ITextChange objects. Changes are sorted in ascending order of position, and abutting and overlapping changes are combined into a single change. |
![]() | IPersistentSpan | Describes a span in a document that remains valid even when the document is closed, opened, or modified (while it is open). |
![]() | IPersistentSpanFactory | A factory for creating IPersistentSpan objects. |
![]() | IReadOnlyRegion | Tracks a possibly empty read-only region of text. |
![]() | IReadOnlyRegionEdit | Represents a set of read-only region editing operations (creating and removing read-only regions on an ITextBuffer. |
![]() | ITextBuffer | A mutable sequence of Unicode (UTF-16) characters. |
![]() | ITextBufferEdit | Represents edit operations against a ITextBuffer. |
![]() | ITextBufferFactoryService | The factory service for ordinary text buffers. |
![]() | ITextChange | Describes a single contiguous text change operation on the text buffer. |
![]() | ITextChange2 | Indicates whether the change is opaque. |
![]() | ITextDataModel | Prepares the ITextBuffer for presentation in the editor. |
![]() | ITextDocument | Represents a document in the file system that persists an ITextBuffer. |
![]() | ITextDocumentFactoryService | Represents a service that creates, loads, and disposes text documents. |
![]() | ITextEdit | Represents a set of editing operations on an ITextBuffer. |
![]() | ITextSnapshot | Provides read access to an immutable snapshot of a ITextBuffer that contains a sequence of Unicode characters. |
![]() | ITextSnapshotLine | Represents a line of text from an ITextSnapshot. |
![]() | ITextVersion | Describes a version of an ITextBuffer. Each application of an ITextEdit to a text buffer generates a new ITextVersion. |
![]() | ITrackingPoint | A tracking position in an ITextBuffer. |
![]() | ITrackingSpan | A span of text in an ITextBuffer that grows or shrinks with changes to the text buffer. The span may be empty. |
| Delegate | Description | |
|---|---|---|
![]() | CustomTrackToVersion | Provides a custom implementation of span tracking. This delegate should be implemented by custom tracking spans. |
![]() | DynamicReadOnlyRegionQuery | The callback for notifying read-only regions of edits. |
| Enumeration | Description | |
|---|---|---|
![]() | EdgeInsertionMode | Defines the edge insertion modes for read-only regions. |
![]() | FileActionTypes | Describes the type of file action. |
![]() | PointTrackingMode | Represents tracking modes for ITrackingPoint objects. |
![]() | PositionAffinity | Describes 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. |
![]() | ReloadResult | Represents the possible results of reloading a text document. |
![]() | SpanTrackingMode | Represents tracking modes for ITrackingSpan objects. |
![]() | TrackingFidelityMode | Represents special tracking behaviors for ITrackingPoint and ITrackingSpan objects. |




