Texas Instruments TI89 Developer Guide - Page 1107
TE_openFixed, Declaration, Categoryies, Description, Inputs
![]() |
UPC - 033317198566
View all Texas Instruments TI89 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1107 highlights
Appendix A: System Routines - Text Editing 1065 TE_openFixed Declaration: Category(ies): Description: Inputs: void TE_openFixed (TERecord * teRec, WINDOW * w, WIN_RECT * editRect, UCHAR * buf, USHORT length, TE_FLAGS flags) Text Editing Open a text edit record with a fixed length buffer. Initialize fields of teRec. w - Window containing edit field. editRect - Rectangle defining the window-relative extents of the edit field or NULL to use entire client rectangle of window w for the edit region. buf - 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. length - Buffer length in bytes. flags - 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) TI-89 / TI-92 Plus Developer Guide Not for Distribution Beta Version January 26, 2001
![](/manual_guide/products/texas-instruments-ti89-developer-guide-95b636f/1107.png)