Important: The information in this document is obsolete and should not be used for new development.
TEInit
TheTEInitprocedure initializes TextEdit.
PROCEDURE TEInit;DESCRIPTION
In addition to initialization of miscellaneous global variables, such asTEDoTextandTERecal, theTEInitprocedure sets up the private scrap and allocates a handle to it. CallTEInitat 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 callTEIniteven if your application doesn't use TextEdit, so that desk accessories and dialog and alert boxes, which use TextEdit routines, work correctly.