benilla-re systems structs docs

CSimpleEditBox::PlaceSelectionPiece

function · ui · primitive

Address
0x77de70 · 859 bytes, up to 0x77e1ca
Signature
void __thiscall (CSimpleEditBox *this, CSimpleTexture *piece, int32_t from, int32_t to)
Meaning
Places one selection texture over a byte range of a line by the label's justify and shows or hides it
Confidence
verified, proof one
Finding
ui/editbox#selection
Test
ui::glue_77de70

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 1

Callees 9

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