editor-pane-default-composition-callback is the default
of editor-pane. It may also be called by your program.
When called with
editor-pane-default-composition-callback sets the composition placement in the editor by calling set-composition-placement, and also makes it move the composition window following the user's mouse cursor movement
When called with a list (which needs to be a plist),
editor-pane-default-composition-callback checks if it contains a keyword/value pair for
:string-face-lists, and if it does displays it in the editor temporarily (until the next call to it). See the entry for output-pane for the description of the value
editor-pane-default-composition-callback uses the faces that are supplied in
, but if the plist contains
:selected-range, it displays the selected range with a different face, by merging *editor-pane-composition-selected-range-face-plist* into the given face of the selected range.
This can be overridden by setting the
in the editor-pane, or the global *editor-pane-default-composition-face* if the
of the pane is
is a true value then the exact behavior depends on its type:
This is appended to each face plist in the the string-face-lists . In other words, it provides default values for the attributes of the face.
editor-pane-default-composition-callback is the default value of
for editor-pane. This can be overridden by passing
:composition-callback or using
output-pane-composition-callback (see entry for output-pane).
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017