Redo Method
Collapse the table of content
Expand the table of content

ITextUndoHistory.Redo Method (Int32)

 

Performs the specified number of redo operation and places the transactions on the undo stack.

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

void Redo(
	int count
)

Parameters

count
Type: System.Int32

The number of redo operations to perform.

After the last visible transaction is redone, the hidden transactions left on top of the stack are redone as well, until a visible or linked transaction is encountered, or the stack is completely emptied.

At the end of the operation, the specified number of visible transactions are redone. Therefore, the actual number of transactions redone might be more than this number, if there are hidden transactions above or below the visible ones.

Return to top
Show:
© 2016 Microsoft