Microsoft.VisualStudio.Text.Projection Namespace
Provides support for projection in the editor. Projection is a way of combining text from multiple text buffers.
For more information about projection, see the "Projection" section of Inside the Editor.
Classes
Class | Description | |
---|---|---|
ElisionSourceSpansChangedEventArgs | Provides data about the SourceSpansChanged event, in which the set of hidden source spans has changed. | |
GraphBufferContentTypeChangedEventArgs | Provides data f GraphBufferContentTypeChanged event. | |
GraphBuffersChangedEventArgs | Information provided for a GraphBuffersChanged event. | |
ProjectionSourceBuffersChangedEventArgs | Provides information for an edit transaction on a IProjectionBuffer in which the set of source ITextBuffer objects has changed. | |
ProjectionSourceSpansChangedEventArgs | Provides information for the SourceSpansChanged event. |
Interfaces
Interface | Description | |
---|---|---|
IBufferGraph | Represents a graph of ITextBuffer objects. The top level text buffer might or might not be a IProjectionBuffer. | |
IBufferGraphFactoryService | Creates a buffer graph from a graph of ITextBuffer objects created by projection. | |
IElisionBuffer | A restricted projection buffer that has exactly one source buffer. Spans from the source buffer must appear in the same order in the projection buffer as in the source buffer. | |
IElisionSnapshot | A snapshot from an IElisionBuffer object. | |
IProjectionBuffer | A text buffer that contains projections of other text buffers, composed of a list of tracking spans of those buffers. The buffers that contribute to the projection buffer are called source buffers, and the tracking spans that describe the contributed regions are called source spans. | |
IProjectionBufferBase | A text buffer that contains projections of other text buffers, composed of a list of text spans of those buffers. The other buffers that contribute to the projection buffer are called source buffers, and the text spans that describe the contributed regions are called source spans. | |
IProjectionBufferFactoryService | Used to create projection buffers. | |
IProjectionEditResolver | Allows the creator of a projection buffer to control behavior of certain edits to the buffer. | |
IProjectionSnapshot | An immutable text snapshot that represents a state of an IProjectionBuffer. |
Enumerations
Enumeration | Description | |
---|---|---|
ElisionBufferOptions | Options that apply to an IElisionBuffer. | |
ProjectionBufferOptions | Represents the options that apply to IProjectionBuffer objects. |