Interface IUndo
Represents properties and methods to perform undo/redo operation with the text.
public interface IUndo
  Properties
- ModifiedLineRegions
 When implemented by a class, gets modified lines information, grouped in regions.
- ModifiedLines
 When implemented by a class, gets modified lines information.
- RedoList
 When implemented by a class, provides an indexed access to redo data.
- UndoLimit
 When implemented by a class, gets or sets a value that limits number of undo operations.
- UndoList
 When implemented by a class, provides an indexed access to undo data.
- UndoOptions
 When implemented by a class, gets or sets options for undo and redo operations.
- UndoUpdateCount
 When implemented by a class, keeps track of calls to
BeginUndoUpdateandEndUndoUpdateso that they can be nested.
Methods
- AddUndo(UndoOperation, object)
 When implemented by a class, stores undo operation in the appropriate list.
- BeginUndoUpdate()
 When implemented by a class, allows to consider number of undo redo operations as single operation, until calling
EndUndoUpdatemethod.
- CanRedo()
 When implemented by a class, indicating whether the redo operation can be performed.
- CanUndo()
 When implemented by a class, indicating whether the undo operation can be performed.
- ClearRedo()
 When implemented by a class, clears list of redo operations.
- ClearUndo()
 When implemented by a class, clears list of undo operations.
- DisableUndo()
 When implemented by a class, disables recording of undo/redo operations. EnableUndo()
- EnableUndo()
 When implemented by a class, re-enables recording of undo/redo operations, that was turn of by calling
DisableUndomethod. DisableUndo()
- EndUndoUpdate()
 When implemented by a class, ends undo block, that was started by
BeginUndoUpdatemethod.
- LineIsModified(int)
 When implemented by a class, indicates whether specified line already modified.
- LineIsModified(int, out bool)
 When implemented by a class, indicates whether specified line already modified.
- Redo()
 When implemented by a class, performs the last redo operation.
- ResetUndoLimit()
 When implemented by a class, resets the
UndoLimitto the default value.
- ResetUndoOptions()
 When implemented by a class, resets the
UndoOptionsto the default value.
- Undo(IUndoData, bool)
 When implemented by a class, performs the single undo operation.
- Undo(bool)
 When implemented by a class, performs the last undo operation.
Events
- UndoEvent
 When implemented by a class, occurs when undo/redo operation performed.