blob: 2f788edcdd43becaf8f015bafc4d107c1e48407f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html lang="en-us" xml:lang="en-us">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "" l gen true r (n 0 s 0 v 0 l 0) "" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Searching or finding text within a file" />
<meta content="structured text editors, text search" name="DC.subject" />
<meta content="structured text editors, text search" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="csrcedt004.html" />
<meta scheme="URI" name="DC.Relation" content="tsrcedt000.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="tsrcedt007" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Searching or finding text within a file</title>
<body id="tsrcedt007"><a name="tsrcedt007"><!-- --></a>
<h1 class="topictitle1">Searching or finding text within a file</h1>
<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="section">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="dlterm">Find/Replace</dt>
<dd>Lets you locate text in the file currently being edited.</dd>
<dt class="dlterm">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><div class="relconcepts"><strong>Related concepts</strong><br />
<div><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
<div class="reltasks"><strong>Related tasks</strong><br />
<div><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.">Editing text coded in markup languages
- overview</a></div>