MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ anchor

std::optional<size_t> MayaFlux::Portal::Text::EditableText::anchor

The fixed end of a selection; the cursor is the moving end.

Unset means nothing is selected. Equal to the cursor also means nothing is selected. Like cursor it is always a codepoint boundary.

Definition at line 41 of file TextEdit.hpp.

Referenced by MayaFlux::Portal::Text::clear_selection(), MayaFlux::Portal::Text::erase_selection(), MayaFlux::Portal::Text::extend(), MayaFlux::Portal::Text::move(), MayaFlux::Portal::Text::move_to(), MayaFlux::Portal::Text::select_all(), and MayaFlux::Portal::Text::selection().