protected OnRedone ( UndoOperationEventArgs e ) : void | ||
e | UndoOperationEventArgs | |
리턴 | void |
public override void Redo (TextDocument doc) { foreach (UndoOperation operation in this.operations) { operation.Redo (doc); doc.OnRedone (new UndoOperationEventArgs (operation)); } OnRedoDone (); }
public override void Redo (TextDocument doc) { doc.currentAtomicUndoOperationType.Push (operationType); foreach (UndoOperation operation in this.operations) { operation.Redo (doc); doc.OnRedone (new UndoOperationEventArgs (operation)); } doc.currentAtomicUndoOperationType.Pop (); OnRedoDone (); }
public override void Redo (TextDocument doc, bool fireEvent = true) { doc.BeginAtomicUndo (operationType); try { foreach (UndoOperation operation in this.operations) { operation.Redo (doc, false); doc.OnRedone (new UndoOperationEventArgs (operation)); } } finally { doc.EndAtomicUndo (); } if (fireEvent) OnRedoDone (); }