plain, bold, italic, outline, shadow, underline, superscript, subscript, strikethrough, small caps, all caps, all lowercase, condensed, expanded, hidden | |
Description
Text styles, available for use by
applications that wish to speak of such things. The example here
shows Tex-Edit Plus returning a text style record. (See Section 19.3.6.) This is a record consisting of two lists,
the on styles (those that are applied to a piece
of text) and the off styles (those that are not
applied to a piece of text). The items of each list are text styles.
The piece of text we're asking about here is
underlined.
Example
tell application "Tex-Edit Plus"
set tsr to style of word 4 of document 1
on styles of tsr -- {underline}
end tell
|