Important: The information in this document is obsolete and should not be used for new development.
TEInit
TheTEInit
procedure initializes TextEdit.
PROCEDURE TEInit;DESCRIPTION
In addition to initialization of miscellaneous global variables, such asTEDoText
andTERecal
, theTEInit
procedure sets up the private scrap and allocates a handle to it. CallTEInit
at the beginning of your program after you initialize QuickDraw, the Font Manager, and the Window Manager, in that order, and before you initialize the Dialog Manager. You should callTEInit
even if your application doesn't use TextEdit, so that desk accessories and dialog and alert boxes, which use TextEdit routines, work correctly.