ITextUndoTransaction Methods

 

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

NameDescription
System_CAPS_pubmethodAddUndo(ITextUndoPrimitive^)

Adds a new undo primitive to the end of the list when the transaction is open.

System_CAPS_pubmethodCancel()

Marks an open transaction as canceled, but the modification is left in the file. Since the state of the buffer doesn't match the undo/redo stacks, any further attempt to undo/redo will either throw exceptions or corrupt the buffer.

System_CAPS_pubmethodComplete()

Marks the transaction as finished and eligible for undo.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodDo()

Performs a do or redo.

System_CAPS_pubmethodUndo()

Performs an undo or rollback.

Return to top
Show: