benilla-re systems structs docs

CSimpleEditBox::ApplyChanges

function · ui · orchestration

Address
0x77d3e0 · 240 bytes, up to 0x77d4cf
Meaning
Applies the text, selection and cursor changes in order, then runs OnTextChanged
Confidence
verified, proof one
Finding
ui/editbox#text-changes-and-their-scripts

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 3

Callees 4

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