TEUpdate
TEUpdate Update (draw) text in rectangle
#include <TextEdit.h> TextEdit
void TEUpdate(rUpdate, hTE );
Rect *rUpdate.; in coordinates of current grafPort
TEHandle hTE ; handle of an edit record
This function draws the text of the edit record within the bounds of the
rectangle rUpdate. It should be called each time that a GetNextEvent call
indicates an update event for a text-editing window.
rUpdate is a pointer to a Rect structure, given in local coordinates relative
to the current grafPort (e.g., from the enclosing window).
hTE is a handle obtained via TENew (old style TextEdit record) or
TEStylNew (new style TextEdit record). It leads to a
variable-length TERec structure and identifies the edit record with
the text to display.
Returns: none

Notes: This normally is used in handling update events and should be
called after BeginUpdate, and before EndUpdate, as follows:
BeginUpdate( myWindow );
EraseRect( myWindow -> portRect ); /* clears the caret */
TEUpdate( myWindow -> portRect, hTE );
EndUpdate( myWindow );