ITextUndoHistory.Redo Method (Int32)
Performs the specified number of redo operation and places the transactions on the undo stack.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
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.