blob: 4261ebb7e8cfc65fdd6fc58974d0c45c1c19887b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../org.eclipse.wst.doc.user/common.css" />
<title>Searching or finding text within a file</title>
</head>
<body id="tsrcedt007">
<h1 class="topictitle1">Searching or finding text within a file</h1>
<div><div class="p"><div class="tip"><span class="tiptitle">Tip: </span>Before you do a Search operation in a structured
text editor, save the file you are searching. The search function works from
the most recently saved version of the file rather than from the contents
that you see in the editor area. You do not need to save your file before
you do a Find/Replace operation. </div>
</div>
<div class="skipspace">Each structured text editor provides two ways to locate a text string
in the file you are editing and optionally replace it with another string: <dl><dt class="bold">Find/Replace</dt>
<dd>Lets you locate text in the file currently being edited.</dd>
<dt class="bold">Search</dt>
<dd>Lets you locate text in files that have been saved to your workspace.</dd>
</dl>
<p>To locate and optionally replace text, select one of the
following menu paths:</p>
</div>
<div class="p"><span><span class="menucascade"><span class="uicontrol">Edit</span> &gt; <span class="uicontrol">Find/Replace</span></span> (or <span class="uicontrol">Ctrl+F</span>)</span> This option is
self-explanatory.</div>
</div>
<div><p><b class="relconceptshd">Related concepts</b><br />
<a href="csrcedt004.html" title="Structured text editor is any of several text editors that you can use to edit various markup languages such as HTML, JavaScript, or XML.">Structured text editors for markup
languages</a><br />
</p>
<p><b class="reltaskshd">Related tasks</b><br />
<a href="tsrcedt000.html" title="You can edit text coded in markup languages with a structured text editor. This is a generic term for several editors that you can use to edit any of several markup languages such as HTML or XML.">Editing text coded in
markup languages - overview</a><br />
</p>
</div><p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>