Appendix A: System Routines — Text Editing
TE_select
Declaration:
void TE_select (TERecord * teRec , USHORT left , USHORT right )
Category(ies):
Text Editing
Description:
Set left and right ends of selected text in an edit buffer. The selected text is
visible on screen as highlighted text in an edit field. The selection may
extend over more than one line of text.
Inputs:
teRec — Pointer to text edit record previously initialized with a call to
left
right
Outputs:
None
Assumptions:
None
Side Effects:
None
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
Not applicable.
Example:
TE_select(&textEdit, 0, TE_FAR_RIGHT);
TI-89 / TI-92 Plus Developer Guide
TE_open or TE_openFixed.
— Edit buffer offset to beginning of selected text — zero (0) may
be used to set the left end of the selection to the beginning of
the edit buffer.
— Edit buffer offset to end of selected text. Symbol
TE_FAR_RIGHT may be used to set the right end of the
selection to the end of the edit buffer.
/* select entire contents of edit buffer */
Not for Distribution
1071
Beta Version January 26, 2001