The Find/Replace dialog opened with the menu entry Ctrl+F) or the toolbar button enables you to define "search for" or "search for and replace" operations on the current document. The find works at line level, which means a find match cannot cover characters on more than one line. The replace operation can bind Perl 5 regular expression group variables ($1, $2, etc.) from the find match. For example to replace the tag with attributes called tag-name with the tag tag-name1 use as text to find <tag-name(\s+)(.*)> and as replace text <tag-name1$1$2>.
→ (find occurrences of a word or string of characters including white spaces and highlight the position in the editor.
replace occurrences of target defined in the Find field with a word or string of characters, including white spaces, defined in the Replace field.
find all occurrences of a word or string of characters including white spaces and return a result list to the Message Panel.
replace all occurrences of a word or string of characters including white spaces.
Complete the dialog as follows:
The target character string to search for.
The character string with which to replace the target. It may contain '{$NEWLINE}' which at the replace time will insert a new line character.
The XPath 2.0 expression entered in this combo is used to restrict the search scope. It is applied only at the first search command (Find, Replace, Find all, Replace to end) after the user changes the content of this combo so that he is able to replace tag names covered by the current XPath expression.
The content completion assistant that helps in entering XPath expressions in attributes of XSLT stylesheets elements is also available in the XPath console and offers always proposals dependent of the current context of the cursor inside the edited document.
Specify if the search direction is from current position to end of file (forward direction) or to start of file (backward direction).
Specify if the search is executed on all file or only on the lines that were selected when the dialog was invoked. If the selection was on a single line the search is executed on all the file.
Execute a find operation for the next occurrence of the target and stop.
Execute a replace operation for the target followed by a find operation for the next occurrence.
Executes a find operation and returns all results to the Message Panel.
Execute a replace operation starting from current target until the end of the document, in the direction specified by the current selection of the Direction switch (forward or backward).
Execute a replace operation in the entire scope of the document.
When checked, operations are case sensitive.
When checked only whole occurrences of a word will be included in the operation.
When checked, operation will include content of the start and end tags of the XML elements.
When checked, search operation is started for every letter typed in or deleted. The first match that obeys the checked conditions will be highlighted.
When checked allows using any regular expression in PERL syntax.
Continues the find from the start (end) of the document after reaching the end (start) if the search is in forward (backward) direction.