93 std::span<const timeline::Command> step_forward,
94 std::span<const timeline::Command> step_inverse)
noexcept;
UndoGestureBudget undo_gesture_budget(const timeline::UndoLimits &limits, std::span< const timeline::Command > step_forward, std::span< const timeline::Command > step_inverse) noexcept
Returns what one open gesture of uniform per-step cost may spend.
ScriptedUiHost is a SequencerUiHost whose playhead is written by the caller instead of an engine,...
Definition edit_intent.hpp:14
Bounds the number and retained memory of undo groups in a session.
Definition undo.hpp:18
What one open gesture may spend against the undo budget.
Definition gesture_budget.hpp:33
std::size_t step_bytes
What one step charges: its forward commands plus its inverse.
Definition gesture_budget.hpp:35
std::size_t steps
Steps admitted into one open group, counting the opening Begin.
Definition gesture_budget.hpp:42