CSimpleEditBox::MoveLine
function · ui · primitive
- Address
0x77cb20· 309 bytes, up to0x77cc54- Signature
void __thiscall (CSimpleEditBox *this, int32_t direction, int32_t extend)- Meaning
- Moves the cursor to the line above or below with non-atomic link steps
- Confidence
- verified, proof one
- Finding
- ui/editboxmarkup#where-a-step-is-atomic
Finding: Where a step is atomic in ui: EditBox markup
The keyboard crosses a link in one step; the mouse does not. Left, Right, Shift with either, Ctrl with either
(word steps), Home, End, Backspace, Delete and Ctrl with the last two all pass atomic set. A mouse click
or drag, Up and Down, the sizing of the scroll window and the composition span pass it clear, so the
mouse can put the cursor between the characters of a link's name. No path can put the cursor inside an escape.
| operation | functions | atomic |
|---|---|---|
| Left, Right, Shift+Left, Shift+Right | 0x77c6b0 | yes |
| Ctrl+Left, Ctrl+Right, Home, End | 0x77c8c0, 0x77c7a0, 0x77c980, 0x77c9f0 | yes, each step |
| Backspace, Delete, Ctrl+Backspace, Ctrl+Delete | 0x77c280, 0x77c3f0, 0x77c310 | yes |
| mouse click and drag | 0x77d0d0 | no |
| Up and Down | 0x77cb20 | no |
| scroll sizing, composition | 0x77d4d0, 0x77d320, 0x77ac60 | no |
The derivation is in the doc.
Callers 2
Callees 5
- CSimpleEditBox::ByteSpanForChars ui
- CSimpleEditBox::CountLetters ui
- CSimpleEditBox::LineOfIndex ui
- CSimpleEditBox::CollapseSelection ui
- CSimpleEditBox::ExtendSelection ui
Calls and jumps by a bare address, from tables/calls.tsv.