Perform, or check applicability of, an "edit/select operation" on the active pane.
capi
active-pane-copy &optional pane
active-pane-copy-p &optional pane
active-pane-cut &optional pane
active-pane-cut-p &optional pane
active-pane-deselect-all &optional pane
active-pane-deselect-all-p &optional pane
active-pane-paste &optional pane
active-pane-paste-p &optional pane
active-pane-select-all &optional pane
active-pane-select-all-p &optional pane
active-pane-undo &optional pane
active-pane-undo-p &optional pane
pane⇩ |
A simple-pane. |
These functions perform an "edit/select operation" on the active pane, or check if this operation is currently applicable.
The active pane will be the one on the same screen as pane if pane is non-nil, or otherwise the same screen as the default interface.
These functions find the active pane, that is the pane where keyboard input currently goes. Note that this is not necessarily a pane that is recognized by CAPI. The predicates (those with names ending -p
) return true if the operation is currently applicable. The other functions tell the active pane to do the operation.
The edit/select operations are implemented by the pane-interface-*
generic functions such as pane-interface-copy-object.
It is not an error to do the operation even if the predicate returns false. It will just do nothing useful.
(example-edit-file "capi/applications/rich-text-editor")
pane-interface-copy-object
7.6 Edit actions on the active element
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27