Class UndoManager

Superclasses :
undo::CompoundEdit
Package :
undo

UndoManager is a CompoundEdit. Until it is closed it allows undos and redos within its list of edits, moving a pointer into the list appropriately.

Once closed, it behaves just like a closed CompoundEdit.

Source

Class summary
Methods inherited from undo::CompoundEdit
close()
Variables inherited from undo::CompoundEdit
closed l
Methods defined in this class
add_edit(other) can_redo() can_undo() clear() get_limit() initially() redo() set_limit(limit) undo()
Variables defined in this class
index limit

Method detail

add_edit(other)

Overrides add_edit(other) in undo::UndoableEdit
Source

can_redo()

Succeed if there is an event to redo
Source

can_undo()

Succeed if there is an event to undo
Source

clear()

Overrides clear() in undo::CompoundEdit
Source

get_limit()

Source

initially()

Overrides initially() in undo::CompoundEdit

redo()

Overrides redo() in undo::UndoableEdit
Source

set_limit(limit)

Source

undo()

Overrides undo() in undo::UndoableEdit
Source

Variable detail

index


limit