Development Environment |
With the incremental search feature, the cursor moves to the next or previous occurrence of the specified string in the Command Window. It is similar to the Emacs search feature.
o
, the first occurrence of that letter in the Command Window after the current cursor position is highlighted. In the example shown, the first occurrence of o
is highlighted, the o
in To
in the startup message. Note that incremental search allows for case sensitivity--see Case Sensitivity in Incremental Search.
When you type the next letter, the first occurrence of the string becomes highlighted. In the example, when you add the letter d
to the o
so that the I-search field now has od
, the od
in ode
becomes highlighted.
o
, you can press Ctrl+W and the rest of the word that is found, in this case ode23
, appears in the I-search field.
ode
in the Command Window, press Ctrl+S. To find the previous occurrence of the string, press Ctrl+R.
You can type Ctrl+R or Ctrl+Shift+R to display the I-search field to begin finding the previous occurrence rather than the next occurrence.
If you enter Ctrl+S or Ctrl+R after displaying the blank I-search field, the search term from your previous incremental search appears in the field. When you then use the Back Space key, you delete the entire previous search term, rather than just the last letter.
Searching in the Command Window | Case Sensitivity in Incremental Search |