# File Menu

The File menu contains the following options:

| Save Annotated Source [Shift+Ctrl+N] | Saves the source code of the currently selected routine or category to a file. The file contains an annotated fragment of Pascal code. The Save Annotated Source dialogue box is displayed and is used to determine the format of the file being saved. This can be plain text, a Pascal include file, HTML or RTF. The latter two options can be syntax highlighted. This option is available only for routine snippets or categories containing routines. Any snippets in a category that are not routines are ignored.
| Save Unit [Ctrl+U] | Generates a valid Pascal unit containing the the currently selected snippets and saves it to file. The Save Unit dialogue box is displayed and is used to determine the format of the file being saved. The format can be plain text, a Pascal unit file, HTML or RTF. The latter two options can be syntax highlighted. Freeform snippets are not included in the unit.
| Save Selection [Shift+Alt+S] | Saves a list of snippets selected by the most recent search. This selection can then be reloaded later. The Save Selection dialogue box is displayed where the required file name is entered. Note that this menu option is not available if there is not a current search, i.e. if the whole database is selected.
| Load Selection [Shift+Alt+L] | Loads a previously saved snippet selection file and selects any snippets currently in the database that match the stored selection. The Load Selection dialogue box is displayed to enable the required file to be selected. Note that any snippets in the chosen selection file that are no longer in the database are quietly ignored.
| Print [Ctrl+P] | Prints details of the currently selected snippet or category. The information printed is similar to that displayed in the Detail Pane. The Print dialogue box is displayed where the required printer and various output options are specified.
| Exit | Closes the program.

Return to the main menu.