다음을 통해 공유


Microsoft.VisualStudio.Text.Projection Namespace

Provides support for projection in the editor. Projection is a way of combining text from multiple text buffers.

Classes

ElisionSourceSpansChangedEventArgs

Provides data about an edit transaction on a IElisionBuffer in which the set of hidden source spans has changed.

GraphBufferContentTypeChangedEventArgs

Provides data about a change of IContentType on a member of a IBufferGraph.

GraphBuffersChangedEventArgs

Information provided when a ITextBuffer is added or removed from a IBufferGraph.

ProjectionSourceBuffersChangedEventArgs

Provides information for an edit transaction on a IProjectionBuffer in which the set of source ITextBuffer objects has changed.

ProjectionSourceSpansChangedEventArgs

Provides information for an edit transaction on a IProjectionBuffer in which the set of source ITrackingSpan objects has changed.

Interfaces

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. This snapshot contains projections of other text snapshots, described by a list of tracking spans from those buffers. Every modification of a projection buffer or one of its source buffers generates a new projection snapshot.

IProjectionSnapshot2

Provides more methods for projection snapshots.

Enums

ElisionBufferOptions

Options that apply to an IElisionBuffers.

ProjectionBufferOptions

Represents the options that apply to IProjectionBuffer objects.

Remarks

For more information about projection, see the "Projection" section of Inside the Editor.