The code editor captures all cut and copy operations, and stores the cut or
copied item on the clipboard ring. The clipboard ring stores the last 20
cut or copied text items, but you can configure the maximum number
by using the environment options dialog. The clipboard ring is an excellent
place to store scraps of text when you're working
with many documents and need to cut and paste between them.
To activate the clipboard ring:
- Choose Edit > Clipboard Ring > Clipboard Ring or press Ctrl+Alt+C.
To paste from the clipboard ring:
- Cut or copy some text from your code. The last item you cut or
copy into the clipboard ring is the current item for pasting.
- Press Ctrl+Shift+V to paste the clipboard ring's
current item into the current document.
- Repeatedly press Ctrl+Shift+V to cycle through the entries
in the clipboard ring until you get to the one you want to permanently paste
into the document. Each time you press Ctrl+Shift+V, the editor
replaces the last entry you pasted from the clipboard ring, so you end
up with just the last one you selected. The item you stop on then becomes
the current item.
- Move to another location or cancel the selection. You can use
Ctrl+Shift+V to paste the current item again or to cycle the
clipboard ring to a new item.
Clicking an item in the clipboard ring makes it the current item.
To paste a specific item from the clipboard ring:
- Move the insertion point to the position to paste the item
in the document.
- Click the arrow at the right of the item to paste.
- Choose Paste from the pop-up menu.
—or—
- Click the item to paste to make it the current item.
- Move the insertion point to the position to paste the item
in the document.
- Press Ctrl+Shift+V.
To paste all items into a document:
To paste all items on the clipboard ring into the current document, move the
insertion point to where you want to paste the items and do one of the following:
- Choose Edit > Clipboard Ring > Paste All.
—or—
- On the Clipboard Ring toolbar, click the Paste All button.
To remove an item from the clipboard ring:
- Click the arrow at the right of the item to remove.
- Choose Delete from the pop-up menu.
To remove all items from the clipboard ring:
- Choose Edit > Clipboard Ring > Clear Clipboard Ring.
—or—
- On the Clipboard Ring toolbar, click the Clear Clipboard Ring
button.
To configure the clipboard ring:
- Choose Tools > Options or press Alt+,.
- Click the Windows category to show the Clipboard Ring Options group.
- Select Preserve Contents Between Runs to save the content of the clipboard
ring between runs, or deselect it to start with an empty clipboard ring.
- Change Maximum Items Held In Ring to configure the maximum number of
items stored on the clipboard ring.