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


Checking, Setting, and Replacing Styles

The routines described in this section let you manipulate the character attribute information associated with a range of text. You can use the following routines to set, replace, or copy character attribute information, or to check aspects of the text's character attributes. These routines are TESetStyle, TEReplaceStyle, TEContinuousStyle, TEStyleInsert, TEGetStyleScrapHandle, TEUseStyleScrap, and TENumStyles.

Note
In the original Inside Macintosh documentation the term style was used to refer to the text font, size, style (face), and color. In this chapter the term character attributes is used instead. This is so that the term style can be used consistently throughout all of the documentation to refer to the following text style attributes: bold, italic, underline, outline, condense, extend, and shadow. In the past, the term face, which is now obsolete, was used to refer to these attributes instead of style.

Subtopics
TESetStyle
TEReplaceStyle
TEContinuousStyle
TEStyleInsert
TEGetStyleScrapHandle
TEUseStyleScrap
TENumStyles

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996