Language Guide

CHAPTER 5
Objects and References
Using Object Class Denitions 121
Figure 5-1 The Scriptable Text Editor’s object class denition for paragraph objects
Paragraph
ELEMENT CLASSES
Characters contained in the paragraphs
Paragraphs contained in the paragraphs
Series of characters contained in the paragraphs
Text items contained in the paragraphs
Words contained in the paragraphs
Character
Paragraph
Text
Text item
Word
DEFAULT VALUE CLASS RETURNED
Styled Text
An object of class Paragraph is a text object that‘s delimited by return
characters or by the beginning or end of the container.
PROPERTIES
Font
Size
The name of the font of the characters of the paragraph. If the
font varies within the paragraph, the Font property specifies
the font of the first character.
Class: String
Modifiable? Yes
The size, in points, of the characters of the paragraph. If the
size varies within the paragraph, the Size property specifies
the size of the first character.
Class: Integer
Modifiable? Yes
See "Elements of Text Objects" on page 314 for a general discussion of
these element classes.
COMMAND HANDLED
Copy, Count, Cut, Data Size, Delete, Exists, Get, Make, Move, Select, Set