History — Version 21.7

# Version 21.7

May 11, 2022

## New General Features

- The new version displays file comparison results in one vertically split window by default when you select the Compare or Compare with Options command. The previously used tiled window display is still possible by setting options.

- The new version will keep the scroll position bottom when the file is reloaded if the scroll position was bottom before reloaded.

- When the Detect All option is set in the File page of configuration properties, the detected encoding was unsupported on Windows (such as VISCII), the new version will continue to open the file as the system default encoding and show a notification.

- Improved URI highlighting.

- Improved line selections in CSV selection mode.

- Changed the default style of Horizontal Grid from Dotted Lines to Normal, and optimized the drawing speed for Vertical Separators.

- Changed the default value for the End Indent in a regular expression in some configurations including C++.

- Supported Bulk Replace All in the Batch Replace dialog box. Bulk Replace All searches the document simultaneously for all search strings while Batch Replace All searches the document for one search string at a time and repeats the search for each search term. Bulk Replace All works much faster than Batch Replace All. See Difference between Batch Replace All and Bulk Replace All for more information.

### Test results:

| Batch Replace All (v21.7) | Bulk Replace All (v21.7) | Comparison
--- | --- | --- | ---
Replace All | 50 minutes 55 seconds | 0.484 seconds | 6310 times faster

\* Replace 1 million random strings with random strings, ignore case, 966 KB, 10,000 lines, random ASCII data. Default options, Windows 11, Core i9-9900K, 32GB RAM, 2TB SSD.

## New Options

- Added the Bulk Replace All button to the Batch Replace and Batch Replace in Files dialog boxes.

- Added the Bulk Find button to the Batch Find in Files and Batch Replace in Files dialog boxes.

- Added the Split vertically radio button to the Select view options page of the Compare Files wizard.

- Added the Monitor files only while EmEditor is active option to the File page of the Customize dialog box.

## Plug-in New Features

- Added the FLAG_FIND_MULTI flag to the BATCH_INFO structure.

- Added the LFI_DONT_ADD_RECENT flag to the LOAD_FILE_INFO_EX structure.

- Added the COMPARE_SPLIT_VERT flag to the Editor_Compare inline function and COMPARE_INFO structure.

## Macro New Features

- Added the eeExFindMulti flag to the BatchReplace method of the Selection object and the BatchFindInFiles and BatchReplaceInFiles methods of the Editor object.

- Added the eeCompareSplitVert flag to the Compare method of the Editor Object.