The code editor captures all Cut and Copy operations and stores the the cut or copied item on the Clipboard Ring. The clipboard ring stores the last 20 text items that were cut or copied, but you can configure the maximum number of items stored on the clipboard ring 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.
Showing the clipboard ring
To display the Clipboard Ring window if it is hidden, do one of the following:
- From the View menu, click Clipboard Ring.
—or—
- Type Ctrl+Alt+C.
—or—
- Right click the tool bar area to display the View menu.
- From the popup menu, click Clipboard Ring.
Pasting an item by cycling the clipboard ring
To paste from the clipboard ring, do the following:
- 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.
- Type Ctrl+Shift+V to paste the clipboard ring's current item to the current document.
- Repeatedly type Ctrl+Shift+V to cycle through the entries in the clipboard ring until you get to the one you want to permanently paste in the document. Each time you press Ctrl+Shift+V, the editor replaces the last entry you pasted from the clipboard ring so that you end up with only 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 cycle the clipboard ring to a new item.
Clicking an item in the clipboard ring makes it the current item.
Pasting a specific item into a document
To paste an item on the clipboard ring directly into the current document, do one of the following:
- Move the cursor to the position where you want to paste the item into the document.
- Display the dropdown menu of the item to paste by clicking the arrow to its right.
- From the menu, click Paste.
—or—
- Make the item you want to paste the current item by clicking it.
- Move the cursor to the position where you want to paste the item into the document.
- Type Ctrl+Shift+V.
Pasting all items into a document
To paste all items on the clipboard ring into the current document, move the cursor to the position where you want to paste the items into the document and do one of the following:
- From the Edit menu, click Clipboard Ring then Paste All.
—or—
- On the Clipboard Ring tool bar, click the Paste All button.
—or—
- Type Ctrl+R, Ctrl+V.
Removing a specific item from the clipboard ring
To remove an item from the clipboard ring, do the following:
- Display the dropdown menu of the item to delete by clicking the arrow at the right of the item.
- From the menu, click Delete.
Removing all items from the clipboard ring
To remove all items from the clipboard ring, do one of the following:
- From the Edit menu, click Clipboard Ring then Clear Clipboard Ring.
—or—
- On the Clipboard Ring tool bar, click the Clear Clipboard Ring button.
—or—
- Type Ctrl+R, Delete.
Configuring the clipboard ring
To configure the clipboard ring, do the following:
- From the Tools menu, select Options.
- Under Environment, select Even More...
- Check Preserve Contents to save the content of the clipboard ring between runs, or uncheck it to start with an empty clipboard ring.
- Change Maximum Items to configure the maximum number of items stored on the clipboard ring.