Web Design HTML Editor

Overview

WebDesign provides many options to help narrow down your search and find or replace only the text that needs to be. You can open the Find dialog by going to the Text menu and selecting 'Find' (COMMAND-F). The Find dialog looks like this;

Search and Replace in Your Document

Pressing the 'Find' button will highlight the text that you have entered in the 'Search For' field in the front most document. Keep pressing Find until you get to the specific part of the document you were searching for. The 'Find All' button will find all occurances of the text entered in the 'Search For' field and list them in the front most document window. You will be able to click any item in the list that appears and and WebDesign will highlight it for you in your document.

The 'Replace' button will replace the next occurance of the text entered in the 'Search For' field in the front most document with the text entered in the 'Replace With' field. The 'Replace All' button will replace all occurances of the text entered in the 'Search For' field with the text in the 'Replace With' field in the frontmost document.

Start From Top

Begins the search at the beginning of the document. If 'Start From Top' is not selected, the search starts at the current position of the insertion point.

In Selection

If you only want to search within a portion of your document or replace only the words that appear in a certain section, select the text you want to search and choose the 'In Selection' option. When selected, WebDesign will only search and replace within the bounds of the selection. This option can not be selected in conjunction with the 'Start From Top' option.

Extended Selection

If you need to replace text from one point to the end of a certain word or pattern (using regular expression searching), the 'Extended Selection' option will select the text beginning at the insertion point to the end of the search string. When replacing, all the text from the insertion point to the end of the search string will be replaced with the replace string.

Case Sensitive

When searching documents, it may be important to treat 'A' and 'a' as different characters along with every other capital and lowercase letter. 'Case Sensitive' searching will do just that and match only strings or patterns that match the exact same word taking case into account.

Match Entire Word

You may require your search string to only match complete words and not just smaller parts of a larger words. The 'Match Entire Word' option will only find whole words and not just the search string within a word.

Use Grep

Enables Regular Expression searching which allows searching for patterns in your document instead of just plain words. See below for further details included syntax rules and examples

If you only need to search or replace certain portions of your document you can use WebDesign's condense text feature to condense multiple portions of your document and exclude them from your search. Select a certain section of your document and select Condense Selected Text from the Text menu. You can extend condensed text by double clicking it or selected Extend All Condensed Text from the Text menu. It may also be useful to exclude HTML tags from the search and replace by selecting Condense All HTML Tags from the HTML Tools menu.

You can search for the previous string entered in the find and replace dialog using the menu items and equivalent command keys under the Text menu. You may choose to Find Again (Command-G), Replace Next (Command-=) or Replace Next and Find Again (Command-T).

Previous | Top | Next


Have Any Questions? Post them on our FREE discussion forum at http://www.ragesw.com/forums/
Copyright 1999-2005 Rage Software. All rights reserved world wide
Back to Index | More About WebDesign | FREE WebDesign Add-ons

Designed With WebDesign