Incremental Search plugin
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:
- 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.
Note: the standard settings of this toolbar can be configured in Settings->Editor->Incremental Search.