Te_Empty - Texas Instruments TI-89 Developer's Manual

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

Advertisement

1056

TE_empty

Declaration:
void TE_empty (TERecord * teRec )
Category(ies):
Text Editing
Description:
Deletes all text from edit buffer.
Inputs:
teRec — Contains the text edit state.
Outputs:
None
Assumptions:
This routine turns off cursor blink before emptying the edit buffer. This
routine does not repaint the edit region. It makes its parent window dirty so
the edit region will be updated when the next paint message arrives.
Side Effects:
May cause heap compression. Sets WF_DIRTY flag in parent window.
Availability:
All versions of the TI-89 / TI-92 Plus.
TI-89 / TI-92 Plus
Differences:
None
See Also:
None
Example:
case CM_CLEAR_ALL:
/* Confirm Clear Editor */
if (Dialog(&DataClearDlg, -1, -1, NULL, NULL) == KB_ENTER)
{
TE_empty(&teText);
TE_focus(&teText);
}
break;
TI-89 / TI-92 Plus Developer Guide
Appendix A: System Routines — Text Editing
/* User chose Clear Editor from Tools menu */
/* OK - empty edit buffer */
/* Turn cursor blink back on */
Not for Distribution
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