ITextUndoHistory.UndoRedoHappened Event

 

Notifies consumers when an undo or a redo has happened on this history.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

event EventHandler<TextUndoRedoEventArgs> UndoRedoHappened

The sender object is the ITextUndoHistory that originated it, and the event arguments are empty. This event occurs whenever an Undo or Redo is initiated properly, even though one of the particular transactions or primitives may have failed to perform the operation.

Return to top
Show: