IElisionBuffer Methods

Include Protected Members
Include Inherited Members

The IElisionBuffer type exposes the following members.

Methods

  Name Description
Public method ChangeContentType Changes the IContentType for this ITextBuffer. (Inherited from ITextBuffer.)
Public method CheckEditAccess Determines whether edit operations on this text buffer are permitted on the calling thread. (Inherited from ITextBuffer.)
Public method CreateEdit() Creates an ITextEdit object that handles compound edit operations on this buffer. (Inherited from ITextBuffer.)
Public method CreateEdit(EditOptions, Nullable<Int32>, Object) Creates an ITextEdit object that handles compound edit operations on this buffer. (Inherited from ITextBuffer.)
Public method CreateReadOnlyRegionEdit Creates an IReadOnlyRegionEdit object that handles adding or removing read-only regions from this buffer. (Inherited from ITextBuffer.)
Public method Delete Deletes a span of characters from the buffer. (Inherited from IProjectionBufferBase.)
Public method ElideSpans Hides the text designated in the specified spans.
Public method ExpandSpans Expands the text specified by the specified spans.
Public method GetReadOnlyExtents Gets a list of read-only regions that overlap the given span. (Inherited from ITextBuffer.)
Public method Insert Inserts the specified text at the specified position in the ITextBuffer. (Inherited from IProjectionBufferBase.)
Public method IsReadOnly(Int32) Determines whether a text insertion would be prohibited at the specified position due to an IReadOnlyRegion. (Inherited from ITextBuffer.)
Public method IsReadOnly(Span) Determines whether a text modification or deletion would be prohibited at span due to an IReadOnlyRegion. (Inherited from ITextBuffer.)
Public method IsReadOnly(Int32, Boolean) Determines whether a text insertion would be prohibited at the specified position due to an IReadOnlyRegion. (Inherited from ITextBuffer.)
Public method IsReadOnly(Span, Boolean) Determines whether a text modification or deletion would be prohibited at span due to an IReadOnlyRegion. (Inherited from ITextBuffer.)
Public method ModifySpans Modifies the exposed text by hiding spansToElide and then expanding the specified spans in a single transaction.
Public method Replace 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.)
Public method TakeThreadOwnership 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.)

Top

See Also

Reference

IElisionBuffer Interface

Microsoft.VisualStudio.Text.Projection Namespace