Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 2 - TextEdit / TextEdit Reference
Routines


Setting and Getting an Edit Record's Text and Character Attribute Information

The TextEdit procedure TEKey allows you to handle key-down events and enter text input through the keyboard. The procedure TESetText lets you incorporate existing text into the text buffer of an edit record. Once an edit record contains text, you can use the TEGetText function to get a handle to the text itself. For a multistyled edit record, you can get a handle to the style record by calling GetStyleHandle. You can set the handle to the style record using the TESetStyleHandle procedure. This section describes these routines.


Subtopics
TEKey
TESetText
TEGetText
TESetStyleHandle
TEGetStyleHandle

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996