Bounds the number and retained memory of undo groups in a session. More...
#include <undo.hpp>
Public Attributes | |
| std::size_t | max_groups = 128 |
| std::size_t | max_retained_bytes = 8 * 1024 * 1024 |
Bounds the number and retained memory of undo groups in a session.
Closed oldest groups are evicted to admit new work. An open gesture that cannot fit is rejected rather than partially discarded.
| std::size_t pulp::timeline::UndoLimits::max_groups = 128 |
| std::size_t pulp::timeline::UndoLimits::max_retained_bytes = 8 * 1024 * 1024 |