Returns the editor buffer associated with an editor pane.
capi
editor-pane-buffer pane
pane⇩ |
An editor-pane. |
The function editor-pane-buffer
returns the editor buffer associated with pane, which can be manipulated in the standard ways with the routines in the editor package.
(setq editor-pane (capi:contain (make-instance 'capi:editor-pane :text "Hello world")))
(setq buffer (capi:editor-pane-buffer editor-pane))
(editor:insert-string (editor:buffers-end buffer) (format nil "~%Here's some more text..."))
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42