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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
	<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
	<title>C/C++ Find/Replace</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
	<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
<h1>C/C++ Find/Replace</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<p><b>Ctrl+F</b> (or <b>Edit > Find/Replace</b>) displays the <b>Find/Replace</b> dialog.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
Here you can specify text to search for and optionally text with which to replace it.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<p><img src="../images/find_replace_dialog.png" alt="Find and Replace Dialog Box" ></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<p>You can specify:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
<li>The direction (forward or back from the current cursor location)</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
<li>The scope (<b>All</b> for the whole file or <b>Selected Lines</b> to search only 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
within the highlighted area)</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
<li>Whether the search is <b>Case Sensitive</b> or <b>Whole Word</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
You can also specify whether the search wraps at the end of the file.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
</ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
<p>If you close the <b>Find/Replace</b> dialog with text in the <b>Find</b> field,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
you can use <b>Ctrl+K</b> (or <b>Edit > Find Next</b>) or 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
<b>Ctrl+Shift+K</b> (or <b>Edit > Find Previous</b>) to go to the next
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
occurrence of that text.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
The directions for &quot;Next&quot; and &quot;Previous&quot; 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
are not affected by the <b>Direction</b> setting in the <b>Find/Replace</b> dialog.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
<p class="note"><span class="notetitle">Note: </span>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
Wildcards are not currently supported for searches.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
<h2>Incremental Find</h2>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
<p>You can also choose <b>Incremental Find</b> from the <b>Find/Replace</b> dialog.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
With this option selected, each letter you type in the <b>Find</b> field
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
causes the editor focus to move to the first complete occurrence of the text
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
you are typing.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
You can also use incremental find by pressing <b>Ctrl+J</b> (<b>Edit > Incremental Find</b>). 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
In this case, the text you type appears in the Status Line at the bottom of
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
the Eclipse window.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<p class="note"><span class="notetitle">Note: </span>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
The settings in the <b>Find/Replace</b> dialog do not affect the operation
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
of incremental find in the Status Line.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
<img src="../images/rh03_04.gif" ALT="IBM Copyright Statement"><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
</html>