| <?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 lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <meta name="copyright" content="Copyright (c) 2000, 2006 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 http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <meta content="public" name="security" /> |
| <meta content="index,follow" name="Robots" /> |
| <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" 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> |
| </head> |
| <body id="tsrcedt007"><a name="tsrcedt007"><!-- --></a> |
| |
| |
| <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="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> |
| |
| </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> > <span class="uicontrol">Find/Replace</span> |
| </span> (or <span class="uicontrol">Ctrl+F</span>)</span> This option is |
| self-explanatory.</div> |
| |
| |
| </div> |
| |
| <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 |
| languages</a></div> |
| </div> |
| <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> |
| </div> |
| </div> |
| |
| </body> |
| </html> |