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

Sparse file-backed document presentation; shared snapshots are immutable. More...

#include <ui_control_context.hpp>

Public Attributes

std::optional< DocumentLanguage > language {}
 Lexical profile; plain disables syntax roles.
std::optional< DocumentSyntaxPolicy > syntax {}
 Recovery policy; AUTO is the default.
std::optional< std::size_t > maxAutoHighlightBytes {}
 Positive automatic original-source admission cap.
std::optional< DocumentViewMode > mode {}
 Projection without changing the source.
std::optional< std::size_t > hexBytesPerRow {}
 Raw-byte slots, from 1 through MAX_HEX_ROW_BYTES.
std::optional< std::size_t > hexGroupSize {}
 Group size, from 1 through MAX_HEX_ROW_BYTES.
std::optional< bool > hexUppercase {}
 Use uppercase hexadecimal digits.
std::optional< bool > hexShowAscii {}
 Include safe ASCII.
std::optional< bool > hexAutoFit {}
 Fit up to the configured row width.
std::optional< std::string > file {}
 Literal UTF-8 file path.
std::optional< bool > lineNumbers {}
 Show logical line numbers.
std::optional< bool > wrap {}
 Wrap text at the viewport edge.
std::optional< DocumentEncoding > encoding {}
 Explicit decoder selection.
std::optional< std::uint64_t > fastScroll {}
 Positive absolute modified step; absence preserves disabled/default policy.
std::optional< key::Modifier > fastKeyModifier {}
 Exact modified-arrow tag.
std::optional< key::Modifier > fastWheelModifier {}
 Exact modified-wheel tag.
std::optional< std::uint8_t > tailWorkTurns {}
 Positive managed TEXT-tail quanta per job, from 1 through 255.

Detailed Description

Sparse file-backed document presentation; shared snapshots are immutable.


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