The function editor-pane-buffer
returns the editor buffer associated with an editor 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 (Windows version) - 3 Aug 2017