82
Chapter 9: Application Control Flow
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
0x720 CM_CUT
Cut selected text to the clipboard. This and the following text
editing commands are generated by menu choices or translated
from CM_KEY_PRESS commands by the default event handler.
Text edit commands are usually handled by the default text edit
handler. See
TE_handleEvent
.
0x721 CM_COPY
Copy selected text to the clipboard.
0x722 CM_PASTE
Paste text in clipboard to edit buffer at cursor position. Any
selected text is replaced.
0x723 CM_PASTE_STRING
Paste text from a string. The event message includes a pointer to
the string to paste.
0x724 CM_PASTE_HANDLE
Paste text from a handle. The event message includes a handle to
the string to paste. The handle is released back to the heap by the
default text edit handler after the paste is complete.
0x725 CM_DELETE
Delete selected text. If no text is selected, delete one character to
the left of the cursor.
0x726 CM_CLEAR
Clear selected text. If no text is selected, clear from cursor to end
of edit buffer. If cursor is at end of edit buffer, clear all text from
edit buffer.
0x727 CM_CLEAR_ALL
Clear everything. The application decides what it means to clear
everything.
0x730 CM_TOGGLE_INSERT
Switch between text insert mode and overstrike mode. This
command is implemented in the default text edit handler.
0x740 CM_CURSOR_FLASH
Show or hide the text cursor. This command is generated every
half second by the timer.
0x750 CM_STO
Store key
§
was pressed. The default event handler translates
this command into the
Æ
character.