Find/Replace Dialog
The Find/Replace dialog can replace text within the current template. The scope of the replacement depends on the currently selected tab in the Workspace. If the Source tab is selected, the replace will affect the HTML source code. If the Design tab is selected, the replace will affect the text on the page. If the Preview tab is selected, the Replace feature is inactive.
When replacing text in the Design tab, formatting in the replaced text will be removed. If formatting is necessary in the new text, select the Source tab before opening the Find/Replace dialog and include the required HTML tags in the replacement text.
Here are the options available in this dialog
- Find: The source string to find.
- Replace with: The string to replace the source with.
- Direction
- Forward: Look forward from the current position of the pointer in the template or source.
- Backward: Look backward from the current position of the pointer in the template or source.
- Scope
- All: Searches in the complete text of the template or source.
- Selected lines: Searches in the currently selected text or source.
- Options
- Case sensitive: Use a case-sensitive search, which differentiates TEXT from text or TexT.
- Wrap search: Loop back from the end of the template or selection to its beginning, when the Search is at the end of the template or the selection.
- Whole word: Searches for the source string as a whole word.
- Incremental: With this option selected, each letter you type in the Find field causes the editor focus to move to the first complete occurrence of the text you are typing.
- Regular expressions: Enables regular expressions for a search in the Source view of the workspace. After checking this option, you can type Ctrl + Space in either text box to view a list of regular expressions.
The Find/Replace dialog can fill in regular expressions in the Find field by itself. Open the dialog, check the option Regular expressions and close the dialog again. Select the text you want to search for and reopen the dialog: the Find field will now contain the regular expression for the text to find.
- Find: Click to find the next instance of the source string.
- Replace/Find: Click to replace the current instance with the replacement text and go to the next instance of the source string.
- Replace: Click to replace the current instance with the replacement text.
- Replace All: Click to replace all instances of the source string with the replacement text.
- Close: Close the dialog.
|
|