Class: CommandHistory
josm/command. CommandHistory
Accessor to the global command history.
Provides static methods to redo and undo commands.
Provides static methods to redo and undo commands.
Name | Type | Argument | Description |
---|---|---|---|
layer |
Layer |
<optional> |
the reference layer. Only commands applied to this layer are removed. Default if missing: all commands are removed. |
depth
commands.
Name | Type | Argument | Default | Description |
---|---|---|---|---|
depth |
number |
<optional> |
1 | the number of commands to be redone. |
depth
commands.
Name | Type | Argument | Default | Description |
---|---|---|---|---|
depth |
number |
<optional> |
1 | the number of commands to be undone |