Incremental Search plugin

From Code::Blocks
Revision as of 22:37, 28 August 2011 by Alpha (talk | contribs) (Created page with "Category:Code::Blocks Contrib Plugins {{Infobox_Plugin| name = IncrementalSearch | logo = File:Incsearch.png | developer = Jens Lody | maintainer = | version = ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
IncrementalSearch
Incsearch.png
Developer(s): Jens Lody
Maintainer(s):
Version: 0.8

For an efficient search in open files, Code::Blocks provides the so-called Incremental Search. This search method is initiated for an open file via the menu Search->Incremental Search or by the keyboard shortcut Ctrl-I. The focus is then automatically set to the search mask of the corresponding toolbar. As soon as you begin entering the search term, the background of the search mask will be adjusted in accordance with the occurrence of the term. If a hit is found in the active editor, the respective position in the text is marked in colour. By default the current hit will be highlighted in green. This setting can be changed via Settings->Editor->Incremental Search. Pressing the Return key induces the search to proceed to the next occurrence of the search string within the file. With Shift-Return the previous occurrence can be selected. This functionality is not supported by Scintilla if the incremental search uses regular expressions. If the search string cannot be found within the active file, this fact is highlighted by the background of the search mask being displayed in red. Esc leave the Incremental Search modus. Alt-Delete clear the input of the incremental search field.

The icons in the Incremental Search toolbar have the following meanings:

Incsearchclear.png
Deleting the text within the search mask of the Incremental Search toolbar.
Incsearchprev.png,Incsearchnext.png
Navigating between the occurrences of a search string.
Incsearchhighlight.png
Clicking this button results in all the occurrences of the search string within the editor being highlighted in colour, instead of only the initial occurrence.
Incsearchselectedonly.png
Activating this option restricts the search to the text passage marked within the editor.
Incsearchcase.png
This option means a case sensitive search is performed.
Incsearchregex.png
Regular expression can be used in the input field of incremental search.

Note: the standard settings of this toolbar can be configured in Settings->Editor->Incremental Search.