Freigeben über


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
Public class ElisionSourceSpansChangedEventArgs Provides data about the SourceSpansChanged event, in which the set of hidden source spans has changed.
Public class GraphBufferContentTypeChangedEventArgs Provides data f GraphBufferContentTypeChanged event.
Public class GraphBuffersChangedEventArgs Information provided for a GraphBuffersChanged event.
Public class ProjectionSourceBuffersChangedEventArgs Provides information for an edit transaction on a IProjectionBuffer in which the set of source ITextBuffer objects has changed.
Public class ProjectionSourceSpansChangedEventArgs Provides information for the SourceSpansChanged event.

Interfaces

  Interface Description
Public interface IBufferGraph Represents a graph of ITextBuffer objects. The top level text buffer might or might not be a IProjectionBuffer.
Public interface IBufferGraphFactoryService Creates a buffer graph from a graph of ITextBuffer objects created by projection.
Public interface 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.
Public interface IElisionSnapshot A snapshot from an IElisionBuffer object.
Public interface 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.
Public interface 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.
Public interface IProjectionBufferFactoryService Used to create projection buffers.
Public interface IProjectionEditResolver Allows the creator of a projection buffer to control behavior of certain edits to the buffer.
Public interface IProjectionSnapshot An immutable text snapshot that represents a state of an IProjectionBuffer.
Public interface IProjectionSnapshot2

Enumerations

  Enumeration Description
Public enumeration ElisionBufferOptions Options that apply to an IElisionBuffer.
Public enumeration ProjectionBufferOptions Represents the options that apply to IProjectionBuffer objects.