|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Mutable UTF-8 text plus a byte-offset cursor. More...
#include <TextEdit.hpp>
Collaboration diagram for MayaFlux::Portal::Text::EditableText:Public Attributes | |
| size_t | cursor { 0 } |
| std::string | text |
Mutable UTF-8 text plus a byte-offset cursor.
cursor is always a codepoint boundary into text: every function below that moves or writes it goes through next_codepoint_offset(), previous_codepoint_offset(), or encode_utf8(), so nothing here ever sets it to an arbitrary byte offset.
Definition at line 31 of file TextEdit.hpp.