. This argument is deprecated.
A plist or
If there is a current selection in the pane, then the attributes are set for the selected text. If there is no selection, then it sets the "typing attributes", which are applied to characters that are typed by the user. Note that any cursor movement changes these attributes, so the setting is ephemeral.
is the symbol
then the default character format of the pane (that is, the value of the rich-text-pane initarg
) is used. Otherwise
is a plist of keywords and values. These are the valid keywords on Microsoft Windows and Cocoa:
A string naming a font.
A color spec or alias specifying the foreground color.
The size of the font.
An integer specifying the vertical offset of characters from the line (a positive value makes them superscript and a negative value makes them subscript).
A boolean. See the description of protected-callback in rich-text-pane.
has the value of a Microsoft Windows charset identifier, and
is the value of
where pitch and family have the value of a Windows pitch and a Windows font family respectively.
for the keyword argument
is not supported in LispWorks 6.1 and later. See the description above for details of the current behavior with respect to the current selection in the rich-text-pane.
:text (format nil "First paragraph.~%Second paragraph, a little longer.~%Another paragraph, which should be long long enough that it spans more than one line. ~%" ))))
CAPI Reference Manual - 15 Dec 2011