# Copy Snippet to Clipboard

There are three ways to copy a code snippet to the clipboard.

## Copy Information

Copies all the information about the selected snippet to the clipboard in both plain text and rich text format. The rich text format version is syntax highlighted.

This option applies to any kind of snippet. Simply select a snippet in the Overview Pane and then use the Edit | Copy Information menu option or press Ctrl+I.

## Copy Annotated Source

Copies either a single selected snippet or a category of snippets. The Snippets are copied as a valid compilable Pascal fragment. Notes of any required units or other routines are included as comments. Both plain text and as rich text copies are placed on the clipboard with the rich text version being syntax highlighted.

A snippets description may be included as a comment, depending on the commenting style specified on the Code Formatting page of the Preferences dialogue box.

This option applies only to routine snippets or to categories that contain routines. Simply select a suitable snippet or category in the Overview Pane then choose the Edit | Copy Annotated Source menu option or press Ctrl+N.

## Copy Source Code

Copies the source code of the selected snippet in plain text and in rich text format, with the rich text copy being syntax highlighted. The snippet's description is not included as comments.

This option applies to any kind of snippet. Select a snippet in the Overview Pane and then use the Edit | Copy Source Code menu option or press Shift+Ctrl+C.