- struct UndoManager
- Undo manager.
- void undo_manager_init_loaded(UndoManager* self)
- Inits the undo manager by populating the undo/redo stacks.
- auto undo_manager_new(void) -> UndoManager*
- Inits the undo manager by creating the undo/redo stacks.
- void undo_manager_undo(UndoManager* self)
- Undo last action.
- void undo_manager_redo(UndoManager* self)
- Redo last undone action.
- auto undo_manager_perform(UndoManager* self, UndoableAction* action) -> int
- Performs the action and pushes it to the undo stack.
- void undo_manager_clear_stacks(UndoManager* self, bool free)
- Clears the undo and redo stacks.