is an editor-pane which displays the output sent to a particular type of character stream called an editor stream, the contents of which are stored in an editor buffer.
The name of a buffer onto an editor stream.
The editor stream to be collected.
can be created to view an existing editor stream by passing the stream itself or by passing the buffer name of that stream.
To create a new stream, either specify
which does not match any existing buffer, or do not pass
in which case the CAPI will create a unique buffer name for you.
To access the stream, use the reader
Note that the editor buffer "
" is a buffer onto the output stream
Here is an example that creates two collector panes onto a new stream (that is created by the first collector pane).
(setq collector (capi:contain
(format *test-stream* "Hello World~%")
Finally, this example shows how to create a collector pane onto the "
(capi:contain (make-instance 'capi:collector-pane
:buffer-name "Background Output"))
LispWorks CAPI Reference Manual - 11 Apr 2005