IVsLinkedUndoTransactionManager Interface

 

Implements the linked undo stack feature.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("F65478CC-96F1-4BA9-9EF9-A575ACB96031")]
public interface IVsLinkedUndoTransactionManager

NameDescription
System_CAPS_pubmethodAbortLinkedUndo()

Aborts a linked undo transaction.

System_CAPS_pubmethodCloseLinkedUndo()

Successfully closes a linked undo transaction.

System_CAPS_pubmethodCountOpenTransactions(Int32)

Returns the nesting level of the linked undo transactions.

System_CAPS_pubmethodIsAborted(Int32)

Determines if the linked undo transaction is aborted.

System_CAPS_pubmethodIsStrict(Int32)

Determines if the linked undo transaction is strict.

System_CAPS_pubmethodOpenLinkedUndo(UInt32, String)

Opens a linked undo transaction parent unit.

A linked undo transaction is a set of undo action stacks grouped together into a set of linked undo stacks. For example, if you call OpenLinkedUndo on the text view or buffer, add other undo stacks to the linked transaction, perform some editing followed by undo actions, and then call CloseLinkedUndo, all the linked undo units on top of their stacks get rolled back as one.

Notes to Callers:

Call IVsLinkedUndoTransactionManager to start linked undo stack. QueryService SVsLinkedUndoManager to get a pointer to IVsLinkedUndoTransactionManager.

Return to top
Show: