Language Guide

APPENDIX B
Scriptable Text Editor Dictionary
Scriptable Text Editor Commands 345
Scriptable Text Editor Commands B
This section defines the commands that are understood by the Scriptable Text
Editor and its objects.
The Scriptable Text Editor supports most of the standard application commands
listed in Chapter 4, “Commands.” As is true for most scriptable applications,
the Scriptable Text Editor’s definitions for some of these commands differ
slightly from the standard definitions. Table B-1 summarizes the differences
between the defined behavior of the standard commands and the Scriptable Text
Editor behavior.
Table B-1 Variations from standard behavior in Scriptable Text Editor versions of
standard application commands
Standard
application command Scriptable Text Editor version
Close Identical to the standard version defined on page 87.
Copy Behaves like the standard version defined on page 88, except that
the direct parameter must be a single object. The Scriptable Text
Editor cannot copy a range of objects.
Count Identical to the standard version defined on page 92.
Data Size Behaves like the standard version defined on page 97, except that
the Scriptable Text Editor returns the size of text objects as a data
class that includes writing code information. The writing code
information adds 4 bytes to the data size.
Delete Identical to the standard version defined on page 98.
Duplicate Behaves like the standard version defined on page 99, except that
the direct parameter must be a single object. The Scriptable Text
Editor cannot duplicate a range of objects.
Exists Identical to the standard version defined on page 99.
Get Identical to the standard version defined on page 100.
continued