internal void RunRedo(IUndoableOperation op) { var opWithCtx = op as IUndoableOperationWithContext; if (opWithCtx != null) opWithCtx.Redo(this); else op.Redo(); }
public void Redo(UndoStack stack) { for (var i = undolist.Length - 1; i >= 0; --i) { stack.RunRedo(undolist[i]); } }