HandyFile Find And Replace Online Help Submit feedback on this topic   

Multiline Editor Dialog

When entering text in the Files and Text Tab, you can specify multiple lines of text by inserting control escapes \r and \n. This is rather inconvenient if there are a large number of text lines. Moreover, you cannot edit the multiline text as you usually do in text editors. This is why a Multiline Editor was created.

Multiline Editor allows you to supply multiple lines of text to search for or replace with. If the text in the Files and Text Tab contains line-breaking escapes (\r and \n), they will be converted to normal line breaks when the Editor is opened. When it closes, line breaks are converted back to the line-breaking escapes.

You can open this dialog box by clicking buttons or .

The table below describes the Editor fields.

Field Description
Font Click to set the editor font most suitable for you.
From File Click to load the text from any plain-text file in the editor.

Note
Size of the text is a limited value. If the text is a part of a scenario action, it should not exceed 8190 bytes (~ 8 kBytes). If the text is the contents of the Find What combobox of the Files and Text tab, it can be of any size, but only first 2048 bytes are kept between sessions - this is the Windows NT-based platform limitation on combo box item text retrieval commands.

Formalize Blanks This button, if clicked, converts all spaces, tabs and line breaks of the selected text to the regular expression operator \s+ that would match the entire blank area. For example, the following text

  <tr>
    <th width=150em>Field</th>
    <th>Description</th>
  </tr>
  <tr>
    <td>All files</td>
    <td>
    Default selection. Denotes that all found files will match, disregarding
    time stamp.
    </td>
  </tr>
will be converted into

\s+<tr>\s+<th\s+width=150em>Field</th>\s+<th>Description
</th>\s+</tr>\s+<tr>\s+<td>All\s+files</td>\s+
<td>\s+Default\s+selection.\s+Denotes\s+that\s+all\s+found\s+files\s+will
\s+match,\s+disregarding\s+time\s+stamp.\s+</td>\s+</tr>\s+
This ensures that all text blocks similar to this one but differing in formatting only will be found.

This button is only available if the Regular Expressions option is checked.
Escape Click to insert the escape character (\) before any non-alphanumeric symbol in the selected text.

This button is only available if the Regular Expressions option is checked.
Unescape Click to remove the the escape character (\) before any non-alphanumeric symbol in the selected text, if such escapes exist.

This button is only available if the Regular Expressions option is checked.
Expression Click to display a menu with control escapes that you can select and insert in the text.