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


Using TextEdit

This section describes how to initialize TextEdit and use the TextEdit routines and data structures to display text and implement editing features in an application. It also describes how to customize the behavior of TextEdit, for example, to better suit the requirements of your application and the script systems it supports.

This section includes sample application-defined routines and code fragments that show some of the ways you can use TextEdit. These examples are provided for illustrative purposes only; they are not meant to be used in applications you write.

Note
For both monostyled and multistyled edit records, the text is limited to 32 KB. Whenever you insert or paste text, you need to ensure that adding the new text does not exceed the 32 KB limit. Your application can check for this limit before you insert or paste text.

Subtopics
Getting Started With TextEdit
Responding to Events Using TextEdit
Moving Text In and Out of Edit Records
Text Attributes
Saving and Restoring a TextEdit Document, and Implementing Undo
Customizing TextEdit

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996