benilla-re systems structs docs

CSimpleEditBox::RebuildLabel

function · ui · primitive

Address
0x77d4d0 · 1142 bytes, up to 0x77d945
Meaning
Rebuilds the label's visible text and sizes a multi-line box to its text
Confidence
verified, proof one
Finding
ui/editbox#text-changes-and-their-scripts
Test
ui::glue_77d4d0

Finding: Text changes and their scripts in ui: EditBox

Each update flushes the dirty bits in order: a text change rebuilds the label's text and, in a multi-line box, sets the box's height to the text's height plus the top and bottom insets; a selection change redraws the highlight; a cursor change re-windows the text and places the caret, running OnCursorChanged with x, y, width and height. OnTextChanged runs last, when the text had changed, typing and SetText alike. A cursor leaving the visible window rebuilds the text without OnTextChanged.

The derivation is in the doc.

Callers 1

Callees 13

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