Operation Manual

211
USING DREAMWEAVER
Adding content to pages
Last updated 3/28/2012
Note: Pressing Control+Enter or Shift+Enter (Windows), or Control+Return, Shift+Return, or Command+Return
(Macintosh), adds line breaks within the text search fields, allowing you to search for a Return character. When
performing such a search, deselect the Ignore Whitespace Differences option if you’re not using regular expressions. This
search finds a Return character in particular, not simply the occurrence of a line break; for instance, it doesn’t find a
<br>
tag or a
<p> tag. Return characters appear as spaces in the Design view, not as line breaks.
5 Use the following options to expand or limit the search:
Match Case Limits the search to text that exactly matches the case of the text you want to find. For example, if you
search for
the brown derby, you will not find The Brown
Derby.
Ignore Whitespace Treats all whitespace as a single space for the purposes of matching. For example, with this option
selected,
this text would match this text and this text but not thistext. This option is not available
when the Use Regular Expressions option is selected; you must explicitly write your regular expression to ignore
whitespace. Note that
<p> and <br> tags do not count as whitespace.
Match Whole Word Limits the search to text that matches one or more complete words.
Note: Using this option is equivalent to doing a regular-expression search for a search string that starts and ends with \b,
the word-boundary regular expression.
Use Regular Expressions Causes certain characters and short strings (such as ?, *, \w, and \b) in your search string to
be interpreted as regular expression operators. For example, a search for
the b\w*\b dog will match both the black
dog and the barking
dog.
Note: If you are working in Code view and make changes to your document, and try to find and replace anything other
than source code, a dialog box appears letting you know that Dreamweaver is synchronizing the two views before doing
the search.
6 To search without replacing, click Find Next or Find All:
Find Next Jumps to and selects the next occurrence of the search text or tags in the current document. If there are no
more instances of the tag in the current document, Dreamweaver proceeds to the next document, if you are searching
in more than one document.
Find All Opens the Search panel in the Results panel group. If you are searching a single document, Find All displays
all occurrences of the search text or tags, with some surrounding context. If you are searching a directory or site, Find
All displays a list of documents that contain the tag.
7 To replace found text or tags, click Replace or Replace All.
8 When you’re finished, click Close.
Search again without displaying the Find And Replace dialog box
Press F3 (Windows) or Command+G (Macintosh).
View a particular search result in context
1 Select Window > Results to display the Search panel.
2 Double-click a line in the Search panel.
If you’re searching the current file, the Document window displays the line containing that search result.
If you’re searching a set of files, the file containing that search result opens.