C# Class ICSharpCode.TextEditor.Undo.UndoStack

This class implements an undo stack
Afficher le fichier Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Méthodes publiques

Свойство Type Description
TextEditorControl TextEditorControlBase

Méthodes publiques

Méthode Description
AssertNoUndoGroupOpen ( ) : void
ClearAll ( ) : void

Clears both the undo and redo stack.

ClearRedoStack ( ) : void

Call this method, if you want to clear the redo stack

EndUndoGroup ( ) : void
Push ( IUndoableOperation operation ) : void

Call this method to push an UndoableOperation on the undostack, the redostack will be cleared, if you use this method.

Redo ( ) : void

Call this method to redo the last undone operation

StartUndoGroup ( ) : void
Undo ( ) : void

Call this method to undo the last operation on the stack

Méthodes protégées

Méthode Description
OnActionRedone ( ) : void

OnActionUndone ( ) : void

Method Details

AssertNoUndoGroupOpen() public méthode

public AssertNoUndoGroupOpen ( ) : void
Résultat void

ClearAll() public méthode

Clears both the undo and redo stack.
public ClearAll ( ) : void
Résultat void

ClearRedoStack() public méthode

Call this method, if you want to clear the redo stack
public ClearRedoStack ( ) : void
Résultat void

EndUndoGroup() public méthode

public EndUndoGroup ( ) : void
Résultat void

OnActionRedone() protected méthode

protected OnActionRedone ( ) : void
Résultat void

OnActionUndone() protected méthode

protected OnActionUndone ( ) : void
Résultat void

Push() public méthode

Call this method to push an UndoableOperation on the undostack, the redostack will be cleared, if you use this method.
public Push ( IUndoableOperation operation ) : void
operation IUndoableOperation
Résultat void

Redo() public méthode

Call this method to redo the last undone operation
public Redo ( ) : void
Résultat void

StartUndoGroup() public méthode

public StartUndoGroup ( ) : void
Résultat void

Undo() public méthode

Call this method to undo the last operation on the stack
public Undo ( ) : void
Résultat void

Property Details

TextEditorControl public_oe property

public TextEditorControlBase TextEditorControl
Résultat TextEditorControlBase