ITextUndoHistory::Undo Method (Int32)
Visual Studio 2015
Performs the specified number of undo operations and places the transactions on the redo stack.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- count
-
Type:
System::Int32
The number of undo operations to perform.
At the end of the operation, the specified number of visible transactions are undone. Therefore, the actual number of transactions undone might be more than this number if there are hidden transactions above or below the visible ones.
After the last visible transaction is undone, the hidden transactions left on top the stack are undone as well, until a visible or linked transaction is encountered, or the stack is completely emptied.
Show: