ConstChecks if redo is available (there are undone commands).
Checks if undo is available (there are commands to undo).
Redoes a previously undone command.
Undoes the last command, returning it along with updated history.
Creates a new empty edit history.
Maximum number of commands to retain (default: 1000).
Pushes a new command to history, removing any redo-able commands.
Current history state.
The command to add.
New history state with the command added.
Utility namespace for managing edit history with undo/redo support.