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:
To paste from the clipboard ring:
  1. 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.
  2. Press Ctrl+Shift+V to paste the clipboard ring's current item into the current document.
  3. 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.
  4. 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:
  1. Move the insertion point to the position to paste the item in the document.
  2. Click the arrow at the right of the item to paste.
  3. Choose Paste from the pop-up menu.

—or—

  1. Click the item to paste to make it the current item.
  2. Move the insertion point to the position to paste the item in the document.
  3. 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:

—or—

To remove an item from the clipboard ring:
  1. Click the arrow at the right of the item to remove.
  2. Choose Delete from the pop-up menu.
To remove all items from the clipboard ring:

—or—

To configure the clipboard ring:
  1. Choose Tools > Options or press Alt+,.
  2. Click the Windows category to show the Clipboard Ring Options group.
  3. 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.
  4. Change Maximum Items Held In Ring to configure the maximum number of items stored on the clipboard ring.