C# Class VSEmbed.Exports.BasicUndoHistory

Provides a very simple ITextUndoHistory implementation. Sufficient for us to test simple undo scenarios inside the unit tests
Inheritance: ITextUndoHistory
Exibir arquivo Open project: SLaks/VSEmbed Class Usage Examples

Private Properties

Property Type Description
BasicUndoHistory System
Clear void
CreateTransaction ITextUndoTransaction
ITextUndoHistory ITextUndoTransaction
ITextUndoHistory void
OnTransactionClosed void
RaiseUndoRedoHappened void
Redo void
Undo void

Private Methods

Method Description
BasicUndoHistory ( object context ) : System
Clear ( ) : void
CreateTransaction ( string description ) : ITextUndoTransaction
ITextUndoHistory ( string description ) : ITextUndoTransaction
ITextUndoHistory ( int count ) : void
OnTransactionClosed ( BasicUndoTransaction transaction, bool didComplete ) : void
RaiseUndoRedoHappened ( ) : void
Redo ( int count ) : void
Undo ( int count ) : void