gbCodeLib - Search Frame
There are two types of searches provided by gbCodeLib.
The Search frame allows a user to search through the entire gbCodeLib snippet
database to find all snippets which contain the search phrase. The snippet
titles are placed in the Search frame results list box. Clicking on one of
the snippets will select the snippet in the Tree. Display of the Search Frame
is optional.
A find and replace text capability is also available within the source code editor but
applies only to the snippet currently selected in the Tree and displayed in the source
code editor.
The Search Frame supports case-sensitive searches and can also limit the search
to selected snippet attributes. Searches can be limited to the language of the
currently selected snippet or can be expanded to search through all languages in
the gbCodeLib snippet database.
Searches can also be performed within the results of the last search.
There are four buttons in the Search Frame which may be used to perform special searches
or other actions.
To perform a basic search, type in the search term and press the button with the magnifying
glass icon, or simply press enter.
The search may also be performed by selecting the search term from the dropdown search list.
When entered manually, pressing enter will add the search term to the dropdown list.
The last 20 search terms are maintained.
Pressing the button labeled "*.*" will display all code snippet titles within the selected
language scope.
Pressing the button with the gray flag (bookmark symbol) will display all bookmarked code
snippets within the selected language scope.
Pressing the button with the tree/hierarchical icon will causes the Tree to display only
those snippets which are found in the search results list.
Boolean Search (with field-specific option)
Boolean searches of the form 'A and B' or 'A or B' are supported (limit of two search terms).
The Boolean searches can also take the form 'fieldname:=A and fieldname:=B' or
'fieldname:=A or fieldname:=B', where the supported fieldnames are:
- title
- code
- keyword
- custom1
- custom2
- custom3
- custom4
- custom5
- custom6
Context Menu
A context sensitive menu is also available for the Search Frame. Simply press the right-mouse
button to see the following context menu options:
- Bookmark All
All snippets listed in the Search results list will be bookmarked
- Copy Titles
Places a list of the snippet titles on the clipboard
|