January 2006
Beginner
592 pages
16h 55m
English
plain, bold, italic, outline, shadow, underline, superscript, subscript, strikethrough, small caps, all caps, all lowercase, condensed, expanded, hidden
Text styles, for applications that wish to speak of such things. The example here shows Tex-Edit Plus returning a text style record. (See "Records" in Chapter 20.) 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.
tell application "Tex-Edit Plus"
set tsr to style of word 4 of document 1
on styles of tsr -- {underline}
end tellRead now
Unlock full access