Executes an editor command in an editor-pane.
The generic function call-editor
executes the editor command
command
in the current buffer in
editor-pane
.
It can be used directly in a callback in editor-pane 's interface. See Connecting an interface to an application. In other cases, take care to modify displayed CAPI interfaces only in their own process: execute-with-interface and apply-in-pane-process are useful for this.
The
before-input-callback
and
after-input-callback
of the editor-pane are called when call-editor
is called.
(setq editor (capi:contain
(make-instance 'capi:editor-pane
:text "abc")))
(capi:apply-in-pane-process
editor 'capi:call-editor editor "End Of Buffer")
(example-edit-file "capi/editor/editor-pane")
CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015