CSimpleEditBox::CopySelection
function · ui · orchestration
- Address
0x77e1d0· 127 bytes, up to0x77e24e- Meaning
- Copies the selection to the clipboard, or an empty string for a password box
- Confidence
- verified, proof one
- Finding
- ui/editbox#ctrl-letter-keys
Finding: Ctrl letter keys in ui: EditBox
With Ctrl held, letters act in the Emacs way: A selects all, B and F move back and forward a
character, D deletes forward, K deletes to the end and U to the start, W deletes a word back, P
and N walk the history back and forward, C copies, X cuts, and V pastes. Other letters do nothing.
A password box copies an empty string instead of its text. C and X pass the selection through GxuStripControlCodes
(font/markup#stripping) with mask 0x500 first: colour, restore and link codes (|c, |r, |H, |h) are dropped,
|| becomes |, and a line break (CR, LF, CRLF or |n) becomes one \n.
The derivation is in the doc.
Callers 1
Callees 3
- __alloca_probe crt
- GxuStripControlCodes unassigned
- OsClipboardPutString unassigned
Calls and jumps by a bare address, from tables/calls.tsv.