UndoRedoRequestEventArgs Class
Event arguments for when an undo or redo operation is requesting to be applied to an ITextDocument.
public class UndoRedoRequestEventArgs : EventArgs
Constructors
UndoRedoRequestEventArgs(ITextDocument, IUndoableTextChange, bool)
Event arguments for when an undo or redo operation is requesting to be applied to an ITextDocument.
public UndoRedoRequestEventArgs(ITextDocument document, IUndoableTextChange textChange, bool isUndo)
| Parameter | Type | Description |
|---|---|---|
| document | ITextDocument | The ITextDocument that is affected by this event, if known. |
| textChange | IUndoableTextChange | The IUndoableTextChange that is made. |
| isUndo | bool |
|
Properties
Document
The ITextDocument that is affected by this event, if known.
IsUndo
Indicates whether this event is for an undo operation.
public bool IsUndo { get; }
Property Value
- bool:
truethe event is for an undo operation; otherwise,false, meaning redo.
TextChange
The IUndoableTextChange that is made to the document.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()