Next Prev Up Top Contents Index

call-editor

Generic Function
Summary

The call-editor generic function executes an editor command in an editor pane.

Syntax

call-editor editor-pane command

Description

This 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 the demo interface example in the LispWorks CAPI User Guide . In other cases, take care to modify displayed CAPI interfaces only in their own process: execute-with-interface is useful for this.

Example
(setq editor (capi:contain
              (make-instance 'capi:editor-pane
                             :text "abc")))
(capi:execute-with-interface
 (capi:element-interface editor)
 'capi:call-editor editor "End Of Buffer")
See also

editor-pane
execute-with-interface


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index