History — Version 21.6

# Version 21.6

March 23, 2022

## New General Features

- The new version allows you to specify character ranges by using the Unicode Script and Unicode General Category when setting the Character Check page of Configuration properties. (EmEditor Professional and EmEditor Free)

- The new version displays Unicode Script and Unicode General Category on the Character Code Value command. (EmEditor Professional and EmEditor Free)

- Supported all possible Emoji sequences. (EmEditor Professional and EmEditor Free)

- Updated the Unicode name database to Unicode v14.0.0. (EmEditor Professional and EmEditor Free)

- Added the \D and \T expressions to the Replacement Expression Syntax. These expressions can be useful to convert several dates/times expressed by different formats into one date/time format. For instance, if the matched date is "2022-03-31", and the replacement expression is "\Dm/d/yyyy", the result will become "3/31/2022". (EmEditor Professional and EmEditor Free)

- Added the \Nc, \Nd, \NC, and \ND expressions to the Replacement Expression Syntax to normalize strings. (EmEditor Professional and EmEditor Free)

- The new version allows you to drag and drop a file from Explorer to the Filter box in the Filter toolbar and a list box in the Advanced Filter, Batch Find, Batch Replace, Batch Find/Replace in Files dialog boxes to create a linked file. The linked file can contain multiple search strings divided by newlines. (EmEditor Professional only)

- The Extract All button on the Filter toolbar is now a drop-down box, and clicking the button will display a menu where you can select between the Extract All Lines and Extract Matched Strings commands. The Extract Matched Strings command will extract only one string per line if multiple strings are matched. (EmEditor Professional only)

- Significantly improved the speed of the Advanced Filter command when many search strings (not regular expressions or number ranges) are combined with the Logical Disjunction (OR) to the Previous Condition option. (EmEditor Professional only)

- Greatly improved the speed of the Join CSV command when the ... contains ..., ... starts with ..., or ... ends with ... conditions are selected. (EmEditor Professional only)

- Greatly improved the speed of Multi-Find in the Find dialog box when many search strings are defined. (EmEditor Professional only)

### Test results:

| v21.5 | v21.6 | Comparison
--- | --- | --- | ---
Advanced Filter | 35.5 seconds | 0.094 seconds | 378 times faster
Join CSV | 1130 seconds | 2.81 seconds | 402 times faster

*Advanced Filter: 1 million random phone numbers combined by logical disjunction (OR), ignore case, 96.6 KB, 1,000 lines, random ASCII data.

Join CSV: Two 19.5MB, 1 million line, random ASCII data CSV files, Join Condition: Key1 contains Key2, ignore case, no unique keys.

All: Default options, Windows 11, Core i9-11900K, 64GB RAM, 2TB SSD.

## New Options

- Added the Link File check box and ▼ on the right side of the Add button to the Advanced Filter dialog box. Clicking the ▼ part will allow you to add a linked file. The linked file can contain multiple search strings divided by newlines. The linked file must be encoded as UTF-16LE with BOM, UTF-8 with BOM, or UTF8 without BOM (EmEditor Professional only)

- Added ▼ on the right side of the Add to Batch button in the Batch Find, Batch Replace, Batch Find in Files, and Batch Replace in Files dialog boxes. Clicking the ▼ part will allow you to add a linked file. The linked file can contain multiple search strings divided by tabs and newlines (Tabs can be used to separate find and replace strings). The Count Matches option in the Batch Find/Batch Replace dialog box will be ignored if linked files are included in the List box and Multi-Find Next or Multi-Find Previous button is selected. (EmEditor Professional only)

- The Extract All button on the Filter toolbar became a drop-down button, and clicking the button displays a context menu to select between the Extract All Lines and Extract Matched Strings commands. (EmEditor Professional only)

- Added the Unicode Script and Unicode General Category list boxes to the Character Range dialog box. (EmEditor Professional and EmEditor Free)

- Added the Selection Mode item to the Status page of the Customize dialog box. (EmEditor Professional only)

- Removed the Never Clear Bookmarks check box from the History page of the Customize dialog box, and added the days text box for the Save Bookmarks option to the History page. (EmEditor Professional only)

## New Commands

- Extract Matched Strings (Filter toolbar) (EmEditor Professional only)

## Plug-in New Features

- Added the EI_SET_FILE_NAMEW parameter to the EE_INFO message. (EmEditor Professional only)

- Added the FLAG_FIND_LINK_FILE flag to the FILTER_INFO_EX structure and Editor_Filter inline function. (EmEditor Professional only)

## Macro New Features

- Allows the Name property of the Document object to be used to rename the file name of the document. If the document is untitled, the property renames the document title without saving the file. (EmEditor Professional only)

- Added the eeExFindLinkFile flag to the Filter method of the Document object. (EmEditor Professional only)