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

Scalar text replacement proof; does not read or retain document bytes. Units are chosen by the enclosing provider; the finite adapter uses UTF-8 bytes. A scalar mapping alone cannot prove that a mapped offset is a grapheme boundary. More...

#include <text_document.hpp>

Public Attributes

std::uint64_t offset {}
 First replaced scalar offset in the provider's text units.
std::uint64_t erased {}
 Number of removed units.
std::uint64_t inserted {}
 Number of inserted units.

Detailed Description

Scalar text replacement proof; does not read or retain document bytes. Units are chosen by the enclosing provider; the finite adapter uses UTF-8 bytes. A scalar mapping alone cannot prove that a mapped offset is a grapheme boundary.


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