blob: d3ace4ade8c6384c7dc44fdaaaf7085b39343cfc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Searching or finding text within a file</title>
<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 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>
<p>To locate and optionally replace text, select one of the
following menu paths:</p>
<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
<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><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 />