benilla-re systems structs docs

EditBox::HighlightText

function · ui · primitive

Address
0x798870 · 239 bytes, up to 0x79895e
Signature
int __fastcall (lua_State *L)
Meaning
Implements the EditBox method HighlightText, its pair in the table 0x87bb68
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/editbox#selection

Finding: Selection in ui: EditBox

The selection is two byte positions. HighlightText(start, end) selects from start to end, where an end past the text or before the start means the end of the text, so (0, -1) selects all. Moving the cursor without Shift clears the selection. The highlight is drawn whether the box has the focus or not, and losing the focus leaves the selection.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 9

Calls and jumps by a bare address, from tables/calls.tsv.