|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Portal::Text::move | ( | EditableText & | s, |
| int | n | ||
| ) |
Move the cursor by n codepoints.
Positive n moves toward the end of the text, negative toward the start. Clamps at whichever text boundary is reached first rather than wrapping or erroring on an out-of-range count.
Definition at line 20 of file TextEdit.cpp.
References MayaFlux::Portal::Text::EditableText::cursor, next_codepoint_offset(), previous_codepoint_offset(), and MayaFlux::Portal::Text::EditableText::text.
Referenced by MayaFlux::Portal::Forma::TextField::wire().
Here is the call graph for this function:
Here is the caller graph for this function: