|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Configurable bounds and explicit-boundary grouping for text history. More...
#include <text_history.hpp>
Public Attributes | |
| bool | enabled {true} |
| Record edits when true; disabled history accepts edits without retaining them. | |
| std::size_t | maxOperations {DEFAULT_TEXT_HISTORY_OPERATIONS} |
| Maximum combined undo and redo groups; zero disables retention. | |
| std::size_t | maxBytes {DEFAULT_TEXT_HISTORY_MAX_BYTES} |
| Maximum retained entry objects and UTF-8 string capacities, in bytes; zero disables retention. | |
| bool | groupTyping {true} |
| Combine adjacent typing edits until an explicit boundary. | |
| bool | groupDeletion {true} |
| Combine adjacent deletions of the same direction until a boundary. | |
| bool | trackContentStates {false} |
| Retain opaque content-state tokens for model anchors; default history has no per-entry token storage. | |
Configurable bounds and explicit-boundary grouping for text history.