Te_Openfixed - Texas Instruments TI-89 Developer's Manual

Graphing calculator
Hide thumbs Also See for TI-89:
Table of Contents

Advertisement

Appendix A: System Routines — Text Editing

TE_openFixed

Declaration:
void TE_openFixed (TERecord * teRec , WINDOW * w ,
WIN_RECT * editRect , UCHAR * buf , USHORT length , TE_FLAGS flags )
Category(ies):
Text Editing
Description:
Open a text edit record with a fixed length buffer. Initialize fields of teRec .
w
Inputs:
editRect
buf
length
flags
TI-89 / TI-92 Plus Developer Guide
— Window containing edit field.
— Rectangle defining the window-relative extents of the edit
field or NULL to use entire client rectangle of window w for
the edit region.
— Fixed-length byte buffer of text. Initial text in the buffer
must be zero terminated. The buffer must be big enough
for the longest string to be edited with one additional byte
for the zero string terminator.
— Buffer length in bytes.
— Each bit specifies optional features of the text editor.
0x0001
TE_WRAP
Set this flag to 1 for multiline edit regions. Set to 0 for
single line edit regions. Text wraps around end of line
to the beginning of the next line in multiline edit
regions.
0x0002
TE_COLON
Place colon (:) character at the beginning of each
line. Program editor uses this flag to mark the
beginning of each line of the program.
0x0006
TE_COMMANDS
Leave room for one character at the beginning of
each line for a command character. The Text Editor
application uses this flag.
NOTE: This flag is combined with the TE_COLON flag.
0x0008
TE_MORE_ARROWS
Set this flag to display arrows at the left and right
ends of a single line edit region to indicate when more
text is to the left or right of the edit region.
(continued)
Not for Distribution
1065
Beta Version January 26, 2001

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ti-92 plusTi-92 plus

Table of Contents