Definition at line 21 of file commandhistory.tcl.
Public Member Functions | |
add (TclList command, TclList commandInverse) | |
addListener (TclString listener) | |
canRedo () | |
canUndo () | |
redo () | |
undo () | |
Protected Member Functions | |
update () | |
Private Attributes | |
TclRef | _commandList = "" |
TclRef | _cursor = -1 |
TclRef | _inverseCommandList = "" |
TclRef | _listenerList = "" |
|
Registers listener object which will be called whenever a change to the command list happens
|
|
Similar to canUndo
|
|
Predicate to determine if calling undo will take effect
|
|
Calls current redo command and let cursor point to next command in the list (move to end) Definition at line 128 of file commandhistory.tcl. |
|
Calls current undo command and modifies internal cursor to point to previous command in the list (move to beginning) Definition at line 113 of file commandhistory.tcl. |
|
Internal method used to update registered listeners whenever a change to the list of commands occurred Definition at line 88 of file commandhistory.tcl. |
|
list of commands used for redoing actions Definition at line 30 of file commandhistory.tcl. |
|
current position in command lists Definition at line 27 of file commandhistory.tcl. |
|
list of commands used for undoing actions Definition at line 33 of file commandhistory.tcl. |
|
list of object-IDs recognizing update-method Definition at line 36 of file commandhistory.tcl. |