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 / About TextEdit


Font and Keyboard Script Synchronization

TextEdit handles synchronization of the font script, the script system that corresponds to the font of the current graphics port, and the keyboard script, the script system used for keyboard input, for multistyled and monostyled text.

For monostyled text, the primary script system determines whether or not TextEdit synchronizes the font script and the keyboard script, based on the value of a flag in the script system's international bundle resource ('itlb'). TextEdit uses this flag, without requiring any action on the part of your application.

For multistyled text, TextEdit always synchronizes the font script and the keyboard script. (If the font script at the selection range or insertion point is the same as
the keyboard script, then this font is used.) The following sections explain the conditions that determine whether TextEdit matches the keyboard script to the font script or
vice versa. TextEdit synchronizes the keyboard script with the font script under the following conditions:

TextEdit synchronizes the font script with the keyboard script under the following condition:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996