EditBox::HighlightText
function · ui · primitive
- Address
0x798870· 239 bytes, up to0x79895e- 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
- __ftol crt
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleEditBox::HighlightText ui
Calls and jumps by a bare address, from tables/calls.tsv.