1054
Appendix A: System Routines — Text Editing
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
CB_replaceTEXT
Declaration:
BOOL
CB_replaceTEXT
(void *
pText
, size_t
size
, BOOL
bStripCmd
)
Category(ies):
Text Editing
Description:
Copy text to clipboard.
Inputs:
pText
— Pointer to text to copy to clipboard.
size
— Byte length of text.
bStripCmd
— Remove command byte after each carriage return in
copied text. The built-in text editor application passes
TRUE in this parameter to remove the command byte at
the beginning of each line when copying text to the
clipboard.
Outputs:
Return TRUE if text was copied to clipboard. Return FALSE if memory
could not be allocated for clipboard copy of text.
Assumptions:
None
Side Effects:
May cause heap compression.
Availability:
All versions of the TI
-
89 / TI
-
92 Plus.
TI
-
89 / TI
-
92 Plus
Differences:
None
See Also: CB_fetchTEXT
Example:
CB_replaceTEXT(&textbuf[offset], textlen, FALSE);