The function
apply-in-pane-process
applies
function
to
args
in the process that is associated with
pane
. This is required when
function
modifies
pane
or changes how it is displayed.
Editor commands must be called in the correct process:
(setq editor
(capi:contain
(make-instance 'capi:editor-pane
:text "Once upon a time...")))
(capi:apply-in-pane-process
editor 'capi:call-editor editor "End Of Buffer")
(capi:apply-in-pane-process
editor 'capi:call-editor editor "Beginning Of Buffer")