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.
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.
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.
This option means a case sensitive search is performed.
Note:
The standard settings of this toolbar can be configured in ’Settings’ /’Editor’ /’Incremental Search’ .
The standard settings of this toolbar can be configured in ’Settings’ /’Editor’ /’Incremental Search’ .
2.2 CodeSnippets
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
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH