| TE_empty | Function (ROM Call 0xA7)

textedit.h

void TE_empty (TEXT_EDIT *te);

Empties the text editor buffer.

TE_empty empties the text editor buffer (associated with the structure pointed to by te). Note that this routine turns off cursor blink before emptying the edit buffer, but does not repaint the edit region. It only makes its parent window dirty (i.e. clears its WF_DIRTY bit) so, the edit region will be eventually updated when the next paint message arrives.

Uses: TE_checkSlack, TE_unfocus