EmEditor Home - EmEditor Help - Dialog Boxes

Replace in Files dialog box

This dialog box appears when the Replace in Files command is selected. You can specify a string to find, among other options to find in files.

Find drop-down list box

Enter a string to search for. If this is a multi-line text box, you can enter new lines by pressing CTRL + ENTER. While the drop-down list is open, you may press ALT + DELETE to clear the selected history item.

>button

Click this button to show the list of available commands.

Selected Text or Word at Cursor When this is checked, the dialog box initializes the Find drop-down list box with the selected text or the word at cursor.
Selected Text When this is checked, the dialog box initializes the Find drop-down list box with the selected text.
Word at Cursor When this is checked, the dialog box initializes the Find drop-down list box with the word at cursor.
Custom When this is checked, the dialog box initializes the Find drop-down list box with the last used string.
Save as Default Saves the option (Selected Text, Word at Cursor or Custom) as the default for the next time the dialog box is displayed.

The commands also includes the list of available escape sequences or regular expressions. Selecting an item from the list will insert the selected item into the text box next to the button.

Replace with drop-down list box

Enter a string with which you would like to replace the found string. If this is a multi-line text box, you can enter new lines by pressing CTRL + ENTER. While the drop-down list is open, you may press ALT + DELETE to clear the selected history item.

File Types drop-down list box

File types to search within. Wild cards (* and ?) can be used. Also multiple files can be separated with semicolons (;).

>button

Click this button to show the list of available commands.

Current File Type When this is checked, the dialog box initializes the File Types drop-down list using the current file type.
Current File Extension When this is checked, the dialog box initializes the File Types drop-down list using the current file extension.
Current File  When this is checked, the dialog box initializes the File Types drop-down list using the current file.
Custom When this is checked, the dialog box initializes the File Types drop-down list box with the last used string.
Save as Default Saves the option (Current File Type, Current File Extension, Current File or Custom) as the default for the next time the dialog box is displayed.

The commands also includes the list of available escape sequences or regular expressions. Selecting an item from the list will insert the selected item into the text box next to the button.

In Folder drop-down list box

Specify the folder to be searched.

>button

Click this button to show the list of available commands.

Current Folder When this is checked, the dialog box initializes the In Folder drop-down list box with the current folder.
Parent Folder When this is checked, the dialog box initializes the In Folder drop-down list box with the current parent folder.
Grand Parent Folder When this is checked, the dialog box initializes the In Folder drop-down list box with the current grandparent folder.
Root Folder When this is checked, the dialog box initializes the In Folder drop-down list box with the current root folder.
Custom When this is checked, the dialog box initializes the In Folder drop-down list box with the last used string.
Browse Allows you to browse or search for the desired folder.
Save as Default Saves the option (Current Folder, Parent Folder, Grand Parent Folder, Root Folder, Custom or Browse) as the default for the next time the dialog box is displayed.

The commands also includes the list of available escape sequences or regular expressions. Selecting an item from the list will insert the selected item into the text box next to the button.

Match Case check box

Match cases when searching for a string.

Look in Subfolders check box

Looks in subfolders of In Folder drop-down list box.

Use Regular Expressions check box

Enable regular expressions. For more information on regular expression syntax, see To Use Regular Expressions.

Use Escape Sequence check box

Enable escape sequences. You can use the following characters as escape sequences.

\a Warning (Bell)
\b Backspace
\f Form feed
\n New line
\t Horizontal tab
\v Vertical tab
\\ Backslash
\oooooo Unicode character in octal notation
\xhhhh Unicode character in hexadecimal notation

A null character (\0) may not be used. \n must be used instead of \r.

Match Whole Word check box

Search words only. A word is defined as a string that begins and ends with any of these characters: A – Z, a – z, 0 – 9, or an underscore. Strings surrounded by full-width characters are considered as words. When using regular expressions, this check box may not work correctly. When using regular expressions, please use word boundary expressions (\<, \>, and \b) instead.

Close when Finished check box

Close the dialog box when finished searching or replacing.

Keep Modified Files Open check box

If this box is checked, changes to files will not be made immediately; all files that have had changes made will be left open. Thus you can save the changes after you verify them. After you replace in files with this option checked, you can select the Save and Close All command if you are satisfied with the changes, or select the Close All without Saving command if you wish to undo the changes. If this box is not checked, the maximum number of files to be replaced is limited to 32.

If this box is not checked, you will not be able to undo the changes. It is recommended that you make backups before you replace in files.

How to specify the carriage return (\r) and the line feed (\n) depends on this check box when you use a regular expression to specify a string to replace. If checked, specify \n without distinguishing the carriage return or the line feed. If not checked, the carriage return (\r) and the line feed (\n) must be distinguished when specified.

Save Backups check box

If this box is checked, the backups of the original files will be created in a folder specified in the Backup Folder text box. If the Look in Subfolders check box is checked, the original folder tree will be conserved in the backup folder.

Backup Folder text box

If the Save Backups check box is checked, it will specify the file to copy the original.

Encoding drop-down list box

Select the encoding. If you select Configured Encoding, the encoding associated with the opened file extension will be selected.

Detect All check box

Statistically detect code page from all available code pages. The detection can make mistakes especially when the file is very small. This option does not include HTML/XML charset detection.

Detect HTML/XML Charset check box

Find "charset=..." from HTML files, "encoding=..." from XML files, or "#coding=..." from Python and Ruby files, and use the corresponding encoding. If you open HTML, XML, Python, or Ruby files, check only this option and clear the other options.

Detect Unicode Signature check box

Detect whether the file contains a Byte Order Mark (BOM) signature, and if it detects the BOM signature, EmEditor will open the file as UTF-16LE, UTF-16BE, or UTF-8 file.

Detect UTF-8 check box

Statistically detect UTF-8.

Find button

Start searching with the specified condition.

Replace All button

Click this button to start replacing in files.

Advanced button

Click this button to display the Advanced dialog box to set advanced options.

Copyright 2003-2014 by Emurasoft, Inc.