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 IProjectionBuffer : Microsoft.VisualStudio.Text.Projection.IProjectionBufferBase, Microsoft.VisualStudio.Utilities.IPropertyOwner
For more information about projection, see the section "Projection" in Inside the Editor.
Deletes a sequence of source spans from the projection buffer.
Inserts a tracking span into the list of source spans.
Inserts a literal string into the list of source spans.
Inserts a list of ITrackingSpan objects and/or literal strings into the list of source spans in the order in which they appear in the list.
|ReplaceSpans(Int32, Int32, IList<Object>, EditOptions, Object)||
Replaces a sequence of source spans with a new list of ITrackingSpan objects and/or literal strings.
Raised when source buffers are added or deleted by virtue of the addition or deletion of source spans. This event is raised before the SourceSpansChanged event is raised.
Raised when source spans are added or deleted.