From bf64d17a164243308fc1972064411f3d88275864 Mon Sep 17 00:00:00 2001 From: Valentin Klein Date: Sat, 10 Oct 2026 20:53:02 +0200 Subject: [PATCH] Clipboard pane: collect the last 24 copies and cuts and paste any of them again (#264) Copy and Cut now also keep each item (rich fragment plus plain text) in a session list of up to 24, newest first. Items over ~4 MB (estimated) are skipped and the list stays under ~24 MB in total; copying the same thing twice in a row adds it once. The system clipboard is untouched. New commands: edit.clipboardPane (toggle the pane, also the Clipboard group's dialog launcher), edit.clipboardItems (list with previews), edit.pasteClipboardItem {index}, edit.pasteAllClipboard, edit.deleteClipboardItem {index} and edit.clearClipboard. Pasting goes through the normal paste path, so it is one undo step and respects Track Changes. The pane lists the items with a short preview; clicking one pastes it at the caret, and each has Delete, plus Paste All and Clear All. Parity: 378 -> 379 of 428 features. Co-authored-by: Claude Opus 5.5 Co-authored-by: Brandon Thomas