IElisionBuffer Interface

 

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.

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public interface IElisionBuffer : IProjectionBufferBase, ITextBuffer, 
	IPropertyOwner

NameDescription
System_CAPS_pubpropertyContentType

Gets the content type of the text in the buffer.(Inherited from ITextBuffer.)

System_CAPS_pubpropertyCurrentSnapshot

Gets the current snapshot of this elision buffer.

System_CAPS_pubpropertyEditInProgress

Determines whether an edit operation is currently in progress on the ITextBuffer.(Inherited from ITextBuffer.)

System_CAPS_pubpropertyOptions

Gets the ElisionBufferOptions in effect for this IElisionBuffer.

System_CAPS_pubpropertyProperties

(Inherited from IPropertyOwner.)

System_CAPS_pubpropertySourceBuffer

Gets the source buffer of this elision buffer.

System_CAPS_pubpropertySourceBuffers

Gets the set of ITextBuffer objects that directly contribute to the projection buffer.(Inherited from IProjectionBufferBase.)

NameDescription
System_CAPS_pubmethodChangeContentType(IContentType, Object)

Changes the IContentType for this ITextBuffer.(Inherited from ITextBuffer.)

System_CAPS_pubmethodCheckEditAccess()

Determines whether edit operations on this text buffer are permitted on the calling thread.(Inherited from ITextBuffer.)

System_CAPS_pubmethodCreateEdit()

Creates an ITextEdit object that handles compound edit operations on this buffer.(Inherited from ITextBuffer.)

System_CAPS_pubmethodCreateEdit(EditOptions, Nullable<Int32>, Object)

Creates an ITextEdit object that handles compound edit operations on this buffer.(Inherited from ITextBuffer.)

System_CAPS_pubmethodCreateReadOnlyRegionEdit()

Creates an IReadOnlyRegionEdit object that handles adding or removing read-only regions from this buffer.(Inherited from ITextBuffer.)

System_CAPS_pubmethodDelete(Span)

Deletes a span of characters from the buffer.(Inherited from IProjectionBufferBase.)

System_CAPS_pubmethodElideSpans(NormalizedSpanCollection)

Hides the text designated in the specified spans.

System_CAPS_pubmethodExpandSpans(NormalizedSpanCollection)

Expands the text specified by the specified spans.

System_CAPS_pubmethodGetReadOnlyExtents(Span)

Gets a list of read-only regions that overlap the given span.(Inherited from ITextBuffer.)

System_CAPS_pubmethodInsert(Int32, String)

Inserts the specified text at the specified position in the ITextBuffer.(Inherited from IProjectionBufferBase.)

System_CAPS_pubmethodIsReadOnly(Int32)

Determines whether a text insertion would be prohibited at the specified position due to an IReadOnlyRegion.(Inherited from ITextBuffer.)

System_CAPS_pubmethodIsReadOnly(Int32, Boolean)

Determines whether a text insertion would be prohibited at the specified position due to an IReadOnlyRegion.(Inherited from ITextBuffer.)

System_CAPS_pubmethodIsReadOnly(Span)

Determines whether a text modification or deletion would be prohibited at span due to an IReadOnlyRegion.(Inherited from ITextBuffer.)

System_CAPS_pubmethodIsReadOnly(Span, Boolean)

Determines whether a text modification or deletion would be prohibited at span due to an IReadOnlyRegion.(Inherited from ITextBuffer.)

System_CAPS_pubmethodModifySpans(NormalizedSpanCollection, NormalizedSpanCollection)

Modifies the exposed text by hiding spansToElide and then expanding the specified spans in a single transaction.

System_CAPS_pubmethodReplace(Span, String)

Replaces a span of characters with different text. This is equivalent to first deleting the text to be replaced and then inserting the new text.(Inherited from IProjectionBufferBase.)

System_CAPS_pubmethodTakeThreadOwnership()

Claims ownership of this buffer for the current thread. All subsequent modifications of this ITextBuffer must be made from the current thread, or else an InvalidOperationException will be raised.(Inherited from ITextBuffer.)

NameDescription
System_CAPS_pubeventChanged

Occurs when a non-empty ITextEdit is successfully applied.(Inherited from ITextBuffer.)

System_CAPS_pubeventChangedHighPriority

Occurs when a non-empty ITextEdit is successfully applied.(Inherited from ITextBuffer.)

System_CAPS_pubeventChangedLowPriority

Occurs when a non-empty ITextEdit is successfully applied.(Inherited from ITextBuffer.)

System_CAPS_pubeventChanging

Occurs just before a non-empty ITextEdit is applied.(Inherited from ITextBuffer.)

System_CAPS_pubeventContentTypeChanged

Occurs whenever the IContentType has been changed.(Inherited from ITextBuffer.)

System_CAPS_pubeventPostChanged

Occurs after the Changed event and any resulting edits.(Inherited from ITextBuffer.)

System_CAPS_pubeventReadOnlyRegionsChanged

Occurs when a IReadOnlyRegionEdit has created or removed read-only regions.(Inherited from ITextBuffer.)

System_CAPS_pubeventSourceSpansChanged

Occurs when there are changes to the set of hidden spans.

The source spans of an elision buffer are all EdgeInclusive. Consequently, if all the contents of a source span are deleted, and later an insertion is made at the location of that span in the source buffer, the insertion will appear in the elision buffer.

Return to top
Show: