is the default character format. It is a plist which is interpreted in the same way as the
argument of set-rich-text-pane-character-format. The default value of
is the default paragraph format. It is a plist which is interpreted in the same way as the
argument of set-rich-text-pane-paragraph-format. The default value of
, if non-nil, is a function of two arguments: the pane itself, and a keyword denoting the type of change. This second argument is either
:selection. The default value of
, if supplied, is called when the user tries to modify protected text. (Text is protected by setting the protected attribute, see set-rich-text-pane-character-format.)
must be a function of four arguments: the pane itself, bounding indexes of the protected text, and a boolean which is true when the change would affect the selection. If the change would affect just a single character, this last argument is
nil, then the change is not performed. If
is not supplied, then the user cannot modify protected text.
is supported only on Microsoft Windows.
rich-text-paneis supported only on Microsoft Windows, and Cocoa in Mac OS X 10.3 and later. Some of its features are supported only on Microsoft Windows, as mentioned above.
rich-text-panecannot be called before the pane is created. If you need to perform operations on the pane before it appears, and which cannot be performed using the initargs, the best approach is to define an
:aftermethod on interface-display on the class of the interface containing the
rich-text-pane, and perform the operations inside this method.
Displaying rich text
CAPI User Guide and Reference Manual (Windows version) - 25 Feb 2015