 |
CB_replaceTEXT |
Function (ROM Call 0xC1) |
Puts a text into the clipboard.
CB_replaceTEXT puts len bytes starting from the address text to the
clipboard. TIOS only uses clipboard for storing text, but it is capable to store other types
too. strip_CR is Boolean parameter: if it is TRUE, each byte
which follows immidiately after '\r' character (0xD) will not be stored in the clipboard
(this in fact stripes out command characters in text editor: see textedit.h
header file). CB_replaceTEXT returns TRUE if the operation was successful,
else returns FALSE (e.g. no enough memory). This routine may cause heap
compression.
Uses: HeapRealloc, memcpy
Used by: TE_handleEvent
See also: CB_fetchTEXT