All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

modify-editor-pane-buffer Function

Summary

Modifies the contents and fill mode of a specified buffer.

Package

capi

Signature

modify-editor-pane-buffer pane &key contents flag fill fixed-fill force

Arguments
pane
contents
A string or nil.
flag
A keyword.
fill
A boolean, with special meaning for a fixnum and :default.
fixed-fill
An integer or nil.
force
A generalized boolean.
Description

The function modify-editor-pane-buffer modifies the editor-pane pane according to the keyword arguments.

contents (if non-nil) supplies a new string to place in the buffer.

If fill is non-nil the editor fills each paragraph in the buffer. If fill is a fixnum then the buffer is filled at that width. If fill is :default (the default value) and fixed-fill is supplied then the value fixed-fill is used. Otherwise the buffer is filled to the window width.

fixed-fill defaults to nil.

If force is true (the default), then an editor buffer is created for pane if it does not have one yet. If force is false then modify-editor-pane-buffer will signal an error if pane does not have an editor buffer.

Notes

The argument flag is deprecated. You can supply the initarg :flag when creating an editor-pane.

See also

editor-pane


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:33:57