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

Owning source coordinates; offsets and columns are UTF-8 bytes, lines/columns are one-based. More...

#include <ui_control_context.hpp>

Public Attributes

std::string sourceIdentity = std::string(0, '\0')
 Caller-defined file/resource identity.
std::size_t byteOffset {}
 Zero-based byte offset in that source.
std::size_t line {1}
 One-based source line.
std::size_t column {1}
 One-based byte column.
std::shared_ptr< const std::string > sharedSourceIdentity {}
 Shared identity, preferred over sourceIdentity when present.

Detailed Description

Owning source coordinates; offsets and columns are UTF-8 bytes, lines/columns are one-based.


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