Mono.TextEditor.TextDocument.OnUndone C# (CSharp) Méthode

OnUndone() protected méthode

protected OnUndone ( UndoOperationEventArgs e ) : void
e UndoOperationEventArgs
Résultat void
		internal protected virtual void OnUndone (UndoOperationEventArgs e)
		{
			EventHandler<UndoOperationEventArgs> handler = this.Undone;
			if (handler != null)
				handler (this, e);
		}

Usage Example

			public override void Undo (TextDocument doc)
			{
				doc.currentAtomicUndoOperationType.Push (operationType);
				for (int i = operations.Count - 1; i >= 0; i--) {
					operations [i].Undo (doc);
					doc.OnUndone (new UndoOperationEventArgs (operations[i]));
				}
				doc.currentAtomicUndoOperationType.Pop (); 
				OnUndoDone ();
			}
All Usage Examples Of Mono.TextEditor.TextDocument::OnUndone
TextDocument