void (@NotNull Editor editor) { Transferable transferable = getSelectionTransferable(editor, CopyPasteOptions.DEFAULT); if (transferable != null) CopyPasteManager.getInstance().setContents(transferable); }