ITextBufferEdit Interface
Visual Studio 2015
Represents edit operations against a ITextBuffer.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Name | Description | |
|---|---|---|
![]() | Canceled | Determines whether this edit has been canceled. |
![]() | Snapshot | Gets a snapshot of the ITextBuffer at the time this object was created. |
| Name | Description | |
|---|---|---|
![]() | Apply() | 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. |
![]() | Cancel() | Abandons all modifications started using this ITextBufferEdit object. Any further calls on this object will result in an InvalidOperationException. |
![]() | Dispose() | (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.
Show:

