feat(clipboard): PASTESPEC pastes in a chosen format

PASTESPEC offers the formats on the clipboard: Objects and Block for
objects copied in the application (the PASTECLIP and PASTEBLOCK paths),
and Text for the system clipboard's text, placed as multi-line text in
the current text style with its lines as paragraphs.

Refs #645

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-13 15:06:58 +03:00
1 parent 4ffae00199
commit b1d4c9bd9b
29 files changed
+242 -1

No files matched your search

+2
View File
@@ -2380,6 +2380,8 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"PAPER" => Some(("ui", "paper")),
"PAPER: double-click viewport to enter MSPACE\nMODEL: click to switch to Model Space" => Some(("ui", "paper-double-click-viewport-to-enter-mspace-mo")),
"PASTEBLOCK: clipboard is empty." => Some(("insert", "pasteblock-clipboard-is-empty")),
"PASTESPEC Paste as [Objects/Block/Text]:" => Some(("insert", "pastespec-paste-as")),
"PASTESPEC Specify insertion point:" => Some(("insert", "pastespec-specify-insertion-point")),
"PASTEBLOCK: {e}" => Some(("insert", "pasteblock-e")),
"PASTECLIP Pick insertion point:" => Some(("clipboard", "pasteclip-pick-insertion-point")),
"PASTEORIG: clipboard is empty." => Some(("insert", "pasteorig-clipboard-is-empty")),