Owning finite-document presentation; never a window into an arbitrary file.
More...
#include <ui_text_document.hpp>
|
|
std::string | text = std::string(0, '\0') |
| | Current complete finite UTF-8 text.
|
|
std::string | target = std::string(0, '\0') |
| | Last acknowledged destination metadata; no I/O.
|
|
TextSelection | selection |
| | Current byte-boundary selection.
|
|
std::uint64_t | refreshStamp {} |
| | UI retry epoch; not a document revision.
|
|
std::uint64_t | revision {} |
| | Current text revision, independent of save requests.
|
|
bool | dirty {} |
| | Current content differs from its savepoint.
|
|
bool | conflicted {} |
| | External replacement awaits explicit resolution.
|
|
bool | canUndo {} |
| | Existing document history has an Undo operation.
|
|
bool | canRedo {} |
| | Existing document history has a Redo operation.
|
Owning finite-document presentation; never a window into an arbitrary file.
◆ operator==()
| bool portals::ui::TextDocumentValue::operator== |
( |
const TextDocumentValue & | other | ) |
const |
|
default |
- Parameters
-
| other | Owning presentation to compare. |
- Returns
- Equality of all fields.
The documentation for this struct was generated from the following file: