CSimpleEditBox::PlaceCaret
function · ui · primitive
- Address
0x77da80· 997 bytes, up to0x77de64- Meaning
- Scrolls the text to the cursor, places the caret and runs OnCursorChanged
- Confidence
- verified, proof one
- Finding
- ui/editbox#text-changes-and-their-scripts
- Test
ui::glue_77da80
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 10
- GetScaledScreenAspect screencoord
- DivideByScreenScaleX screencoord
- FrameScriptExecuteVarArgs ui
- PixelAlignY ui
- CLayoutFrame::SetPoint ui
- CLayoutFrame::ClearAllPointsThunk ui
- CSimpleFontString::GetTextHeight ui
- MeasureRunWidth ui
- CScriptRegion::Unregister ui
- CScriptRegion::Register ui
Calls and jumps by a bare address, from tables/calls.tsv.