benilla-re systems structs docs

CSimpleEditBox::DeleteRange

function · ui · primitive

Address
0x77c510 · 401 bytes, up to 0x77c6a0
Signature
void __thiscall (CSimpleEditBox *this, int32_t low, int32_t high)
Meaning
Deletes a byte range after moving each end out of a hyperlink, and clears the selection
Confidence
verified, proof one
Finding
ui/editboxmarkup#deleting-through-a-link

Finding: Deleting through a link in ui: EditBox markup

Removing a range moves each end out of a link: an end inside a link goes back to the link's start, including the colour escape before it, and an end inside goes forward past the closing |h and any |r after it. Any deletion that touches a link removes the whole of it, colour and reset included, whether it came from the keyboard or from a selection the mouse made. A deletion also clears the selection.

The derivation is in the doc.

Callers 3

Callees 2

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