Search the Database

You can search the code snippets database for text, by compiler or for cross-referenced snippets. You can also manually select which snippets are displayed.

Once a search is performed only those snippets matching the search criteria are displayed. A second search will reset the previous search.

Restore the full database after a search by clicking the Show All button Show All toolbar button or by selecting Search | Show All.

Text search

You can search for all snippets containing one or more words. Use the Find Text button Find Text toolbar button (or select Search | Find Text) and enter the search text in the Find Text Dialog Box.

Compiler search

You can search for snippets that compile, fail to compile or that have not been tested on certain compilers. Use the Find Compiler button Find Compiler toolbar button (or select Search | Find Compiler) and enter the search criteria in the Find Compiler Dialog Box.

Cross-reference search

This search is provided to enable you to find snippets that are related to one another. The search finds snippets referenced by the currently selected snippet. Cross references via the "see also" or "required snippets" fields can be searched, and searches can be recursive.

To run the search select a snippet in the Overview Pane then select Search | Find Cross Refs and configure the search in the Find Cross References dialog box.

Manual selection

Using the Select Routines button Select Snippets toolbar button (or selecting Search | Select Snippets) you can explicitly choose which snippets are to be displayed in the Overview Pane. This is done in the Select Snippets dialog box by simply placing a check mark next to the required snippets.

The main purpose of this option is to select snippets for inclusion in a generated Pascal unit. See the Generate Unit task for information about generating a unit.