Provides clipboard functions for the Source view and the Editor window.
Scope: View
Syntax
Parameters
copy |
Copies the current marked block into the clipboard (leaving the original in the file). |
cut |
Moves the current marked block into the clipboard (removing it from in the file). |
empty |
Clears the clipboard. |
paste |
Copies the current clipboard contents into the file at the cursor position (provided the clipboard contents are available in standard text format). |
query |
Display a message indicating whether the clipboard is empty or contains text. |
Description
The clip command provides standard clipboard functions (copy, cut, and paste) for all block types.
Examples
clip copy
clip paste
API Return Codes
-8 |
Out of memory. |
-5 |
Attempting to cut or paste in read-only file. |
1 |
Command parameter is not valid. |
2 |
No block is marked for cut or copy. |
4 |
Clipboard is empty, or content is not in text format. |
![]()
