IProjectionBuffer Methods

IProjectionBuffer Methods

 

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

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_pubmethodDeleteSpans(Int32, Int32)

Deletes a sequence of source spans from the projection buffer.

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_pubmethodInsertSpan(Int32, ITrackingSpan)

Inserts a tracking span into the list of source spans.

System_CAPS_pubmethodInsertSpan(Int32, String)

Inserts a literal string into the list of source spans.

System_CAPS_pubmethodInsertSpans(Int32, IList<Object>)

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.

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_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_pubmethodReplaceSpans(Int32, Int32, IList<Object>, EditOptions, Object)

Replaces a sequence of source spans with a new list of ITrackingSpan objects and/or literal strings.

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.)

Return to top
Show:
© 2016 Microsoft