- Inside Macintosh: Text /
- Chapter 2 - TextEdit / TextEdit Reference
Routines
This section describes the TextEdit routines that an application can call to
- initialize TextEdit and create an edit record
- activate and deactivate an edit record
- set and get the text and character attribute information of an edit record
- set the caret and selection range
- display and scroll text
- modify the text of an edit record
- manage the TextEdit private scrap
- check, set, and replace character attributes
- use byte offsets and corresponding points
- toggle automatic scrolling, outline highlighting, and text buffering on and off
- customize TextEdit
Each routine description defines a Pascal interface, provides related assembly-language information, and lists possible result codes, if any are returned.
Subtopics
- Initializing TextEdit, Creating an Edit Record, and Disposing of an Edit Record
-
- Activating and Deactivating an Edit Record
-
- Setting and Getting an Edit Record's Text and Character Attribute Information
-
- Setting the Caret and Selection Range
-
- Displaying and Scrolling Text
-
- Managing the TextEdit Private Scrap
-
- Checking, Setting, and Replacing Styles
-
- Using Byte Offsets and Corresponding Points
-
- Additional TextEdit Features
-
- Customizing TextEdit
-
© Apple Computer, Inc.
6 JUL 1996