Carbon


TEInit

Header: TextEdit.h Carbon status: Unsupported

Initializes TextEdit.

void TEInit ();
DISCUSSION

In addition to initialization of miscellaneous global variables, such as TEDoText and TERecal, the TEInit function sets up the private scrap and allocates a handle to it. Call TEInit 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 call TEInit even if your application doesn’t use TextEdit, so that desk accessories and dialog and alert boxes, which use TextEdit functions, work correctly.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

There is no need to initialize TextEdit because the shared library is loaded as needed.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)