|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
The selected byte range as (begin, end), begin first whichever end the cursor is, or nullopt when nothing is selected.
Offsets past the end of the text are clamped to it.
Definition at line 5 of file TextEdit.cpp.
References MayaFlux::Portal::Text::EditableText::anchor, MayaFlux::Portal::Text::EditableText::cursor, and MayaFlux::Portal::Text::EditableText::text.
Referenced by erase_selection(), move(), and selected_text().