Incremental Search plugin

From CodeBlocks
Jump to: navigation, search
Developer(s): Jens Lody
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:

Deleting the text within the search mask of the Incremental Search toolbar.
Navigating between the occurrences of a search string.
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.
Activating this option restricts the search to the text passage marked within the editor.
This option means a case sensitive search is performed.
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.