CSimpleEditBox::DeleteChars
function · ui · orchestration
- Address
0x77c280· 84 bytes, up to0x77c2d3- Meaning
- Deletes a count of characters before or after the cursor
- Confidence
- verified, proof one
- Finding
- ui/editbox#a-negative-letter-limit-hangs
Finding: A negative letter limit hangs in ui: EditBox
A negative letter limit is never met: the trim loop deletes backward from the end until the text
is empty, and an empty text still has more letters than the limit, so the next insertion of any
text never returns. That includes SetText("") on a box with text; on an empty box SetText
returns early, since the texts are equal.
The derivation is in the doc.
Callers 7
- CSimpleEditBox::Insert ui
- CSimpleEditBox::DeleteCharForward ui
- CSimpleEditBox::DeleteWordForward ui
- CSimpleEditBox::DeleteCharBack ui
- CSimpleEditBox::DeleteWordBack ui
- CSimpleEditBox::DeleteToStart ui
- CSimpleEditBox::DeleteToEnd ui
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.