Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::TextHistorySnapshot Struct Reference

Owning UTF-8 bytes and byte offsets validated during preparation. More...

#include <text_history.hpp>

Public Attributes

std::string bytes = std::string(0, '\0')
 Original UTF-8 text; no normalization is performed.
std::size_t cursor {}
 Active end of selection, at an extended grapheme boundary.
std::size_t anchor {}
 Fixed end of selection, at an extended grapheme boundary.

Detailed Description

Owning UTF-8 bytes and byte offsets validated during preparation.


The documentation for this struct was generated from the following file: