ITextBufferEdit Interface

 

Represents edit operations against a ITextBuffer.

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

public interface ITextBufferEdit : IDisposable

NameDescription
System_CAPS_pubpropertyCanceled

Determines whether this edit has been canceled.

System_CAPS_pubpropertySnapshot

Gets a snapshot of the ITextBuffer at the time this object was created.

NameDescription
System_CAPS_pubmethodApply()

Commits all the modifications made with this ITextBufferEdit object to the underlying ITextBuffer. It also causes the ITextBuffer to generate a new snapshot and raise its Changed event if any modifications were made.

System_CAPS_pubmethodCancel()

Abandons all modifications started using this ITextBufferEdit object. Any further calls on this object will result in an InvalidOperationException.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

For more information about text edits, see the section "A Closer Look at the Text Model and the Text View" in Inside the Editor.

Return to top
Show: