ITextUndoHistory Interface
Contains undo transactions.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | CanRedo | Determines whether a single redo is possible. |
![]() | CanUndo | Determines whether a single undo is possible. |
![]() | CurrentTransaction | Gets the current undo transaction in progress. |
![]() | LastRedoTransaction | Gets the most recent (top) item of the RedoStack. |
![]() | LastUndoTransaction | Gets the most recent (top) item of the UndoStack. |
![]() | Properties | (Inherited from IPropertyOwner.) |
![]() | RedoDescription | Gets the description of the most recent visible redo ITextUndoTransaction. |
![]() | RedoStack | The redo stack for this history. It does not include any currently open or undo transactions. |
![]() | State | Gets the current state of the undo history. |
![]() | UndoDescription | Gets the description of the most recent visible undo ITextUndoTransaction. |
![]() | UndoStack | The undo stack for this history. It does not include any currently open or redo transactions. |
| Name | Description | |
|---|---|---|
![]() | CreateTransaction(String) | Creates a new transaction, nests it in the previously current transaction, and marks it current. |
![]() | Redo(Int32) | Performs the specified number of redo operation and places the transactions on the undo stack. |
![]() | Undo(Int32) | Performs the specified number of undo operations and places the transactions on the redo stack. |
| Name | Description | |
|---|---|---|
![]() | UndoRedoHappened | Notifies consumers when an undo or a redo has happened on this history. |
![]() | UndoTransactionCompleted | Notifies consumers when an ITextUndoTransaction is completed and added to the UndoStack. |
Typically only one undo transaction history at a time is available to the user.


