internal protected virtual void OnRedone (UndoOperationEventArgs e) { EventHandler<UndoOperationEventArgs> handler = this.Redone; if (handler != null) handler (this, e); }
public override void Redo (TextDocument doc) { foreach (UndoOperation operation in this.operations) { operation.Redo (doc); doc.OnRedone (new UndoOperationEventArgs (operation)); } OnRedoDone (); }