Language Guide
APPENDIX B
Scriptable Text Editor Dictionary
Scriptable Text Editor Object Class Definitions 321
Character B
An object of class Character is a text character.
PROPERTIES
Font The name of the font of the character or characters. If the font
varies within a range of characters, the Font property specifies
the font of the first character.
Class: String
Modifiable? Yes
Length The number of characters in a text object.
Class: Integer
Modifiable? No
Offset The offset, in characters, from the beginning of the document to
the first character of a text object.
Class: Integer
Modifiable? No
Size The size, in points, of the character or characters. If the size
varies within a range of characters, the Size property specifies
the size of the first character.
Class: Integer
Modifiable? Yes
Style The text styles of the character or characters. If the text styles
vary within a range of characters, the Style property specifies
the styles of the first character.
Class: Text Style Info. Objects of this class have two properties:
On Styles and Off Styles. The On Styles property specifies the
styles that apply to the text object. The Off Styles property
specifies the styles that do not apply to the text object. Both
properties are lists of constants that specify text styles. See
“Elements of Text Objects” on page 314 for information
about how styles are used. The constants that can be used in
Style property lists are bold, italic, outline, underline,
and shadow.
Modifiable? Yes