carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_find_replace.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">

<head>
	<meta http-equiv="Content-Language" content="en-us">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>C/C++ Find/Replace</title>
	<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<h1>C/C++ Find/Replace</h1>
<p><b>Ctrl+F</b> (or <b>Edit > Find/Replace</b>) displays the <b>Find/Replace</b> dialog.
Here you can specify text to search for and optionally text with which to replace it.
</p>
<p><img src="../images/find_replace_dialog.png" alt="Find and Replace Dialog Box" ></p>
<p>You can specify:</p>
<ul>
<li>The direction (forward or back from the current cursor location)</li>
<li>The scope (<b>All</b> for the whole file or <b>Selected Lines</b> to search only 
within the highlighted area)</li>
<li>Whether the search is <b>Case Sensitive</b> or <b>Whole Word</b>.
You can also specify whether the search wraps at the end of the file.</li>
</ul>

<p>If you close the <b>Find/Replace</b> dialog with text in the <b>Find</b> field,
you can use <b>Ctrl+K</b> (or <b>Edit > Find Next</b>) or 
<b>Ctrl+Shift+K</b> (or <b>Edit > Find Previous</b>) to go to the next
occurrence of that text.
The directions for &quot;Next&quot; and &quot;Previous&quot; 
are not affected by the <b>Direction</b> setting in the <b>Find/Replace</b> dialog.
</p>

<p class="note"><span class="notetitle">Note: </span>
Wildcards are not currently supported for searches.</p>

<h2>Incremental Find</h2>

<p>You can also choose <b>Incremental Find</b> from the <b>Find/Replace</b> dialog.
With this option selected, each letter you type in the <b>Find</b> field
causes the editor focus to move to the first complete occurrence of the text
you are typing.
You can also use incremental find by pressing <b>Ctrl+J</b> (<b>Edit > Incremental Find</b>). 
In this case, the text you type appears in the Status Line at the bottom of
the Eclipse window.
</p>

<p class="note"><span class="notetitle">Note: </span>
The settings in the <b>Find/Replace</b> dialog do not affect the operation
of incremental find in the Status Line.</p>


<p>
<img src="../images/rh03_04.gif" ALT="IBM Copyright Statement"><br>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</p>


</body>
</html>