Adobe Dreamweaver CC 2015 Bedienungsanleitung Seite 258

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 700
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 257
251
Page content and assets
Last updated 6/3/2015
4 Click OK to set the options.
Search for and replace text
You can use the Find And Replace command to search for text and for HTML tags and attributes in a document or a
set of documents. The Search panel, in the Results panel group, shows the results of a Find All search.
Note: To search for files in a site, use different commands: Locate In Local Site and Locate In Remote Site.
Search for and replace text
1 Open the document to search in, or select documents or a folder in the Files panel.
2 Select Edit > Find And Replace.
3 Use the Find In option to specify which files to search:
Selected Text Confines the search to the text thats currently selected in the active document.
Current Document Confines the search to the active document.
Open Documents Searches all documents that are currently open.
Folder Confines the search to a specific folder. After choosing Folder, click the folder icon to browse to and select a
folder to search.
Selected Files In Site Confines the search to the files and folders that are currently selected in the Files panel.
Entire Current Local Site Expands the search to all the HTML documents, library files, and text documents in the
current site.
4 Use the Search pop-up menu to specify the kind of search you want to perform:
Source Code Searches for specific text strings in the HTML source code. You can search for specific tags using this
option, but the Specific Tag search provides a more flexible approach to searching for tags.
Tex t Searches for specific text strings in the text of the document. A text search ignores any HTML that interrupts
the string. For example, a search for the black dog would match both the black dog and the <i>black</i> dog.
Text (Advanced) Searches for specific text strings that are either within or not within a tag or tags. For example, in
a document that contains the following HTML, searching for tries and specifying Not Inside Tag and the i tag would
find only the second instance of the word tries: John <i>tries</i> to get his work done on time, but he doesnt always
succeed. He tries very hard. .
Specific Tag Searches for specific tags, attributes, and attribute values, such as all td tags with valign set to top.
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 tag
or a 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.
Seitenansicht 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 699 700

Kommentare zu diesen Handbüchern

Keine Kommentare