Appendix A: System Routines — Text Editing
1071
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
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
TE_open
or
TE_openFixed
.
left
— 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.
right
— 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.
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); /* select entire contents of edit buffer */