2.3 Incremental Search

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

2.3 Incremental Search


For an efficient search in open files, CodeBlocks 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’ (see ??). 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.
[Figure # 23]
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:
[Figure # 24]
Deleting the text within the search mask of the Incremental Search toolbar.
[Figure # 25],[Figure # 26]
Navigating between the occurrences of a search string.
[Figure # 27]
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.
[Figure # 28]
Activating this option restricts the search to the text passage marked within the editor.
[Figure # 29]
This option means a case sensitive search is performed.
[Figure # 30]
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’ .


[Previous] 2.2  CodeSnippets
[Next] 2.4  ToDo List

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH