History — Version 19.0

# Version 19.0

July 30, 2019

## New General Features

- Added an ability to check syntax of HTML, CSS, and JSON documents using CSS HTML Validator Lite (EmEditor edition), which is included in the installer.

- Added an ability to check syntax of XML documents using MSXML Parser.

- The Validate CSV command is now called the Syntax Check command, and it can check syntax of all supported document types (CSV, XML, HTML, CSS, and JSON).

- Syntax check errors are displayed with red wiggly underlines (customizable), and hovering the mouse pointer causes a tooltip show information about the errors. Syntax check can be automatically refreshed for smaller documents.

- The new version allows you to customize underline colors for highlight separately from the text colors ( Display page of the Configuration Properties dialog box).

- Added the new Sort Reverse command, which allows you to sort document(s) in reversed order.

- Greatly improved the speed of switching to a CSV mode, and the Syntax Check (CSV) and Adjust Separator Position (Whole Document) commands using multi-threaded code and the AVX-2 instruction set found in recent CPUs .

- Greatly improved the speed of the Delete Duplicate Lines command on a very large file using multi-threaded code and the AVX-2 and SSE4.2 instruction sets found in recent CPUs.

### Test results:

| v18.9 | v19.0 | Comparison
--- | --- | --- | ---
Switch to CSV mode | 1.67 seconds | 0.206 seconds | 8.11 times faster
Delete Duplicate Lines | 47.7 seconds | 20.3 seconds | 2.35 times faster

\* Switch to CSV mode: 1.99 GB 15.8 million lines, comma separated numbers.

Delete Duplicate Lines: 2.70 GB, 200 million lines, random ASCII data.

All: Use Temporary Files option on, 16 threads, Windows 10 (64-bit), Core i9-9900K, 32GB RAM, 2TB SSD.

## New Options

- Added the Syntax Check page to the Customize dialog box.

- Added the Syntax Check page to the Configuration Properties dialog box.

- Added the Underline Color drop-down list box to the Display page of the Configuration Properties dialog box.

- Added the Enable file mapping when saving a large file check box to the File page of the Customize dialog box.

- Added the Instruction Set drop-down list box to the Advanced page of the Customize dialog box.

- Added the Number of Tabs option to the Type drop-down list box in the Outline page of configuration properties.

- Added the Inspect Selected Strings Only radio button to the Delete Duplicate Lines dialog box.

- Added the Inspect only selected strings when vertical selection or multiple selections exist (Delete Duplicates command) option to the Edit page of the Customize dialog box.

- Added the Inspect only selected strings when vertical selection or multiple selections exist option to the Sort page of the Customize dialog box.

## New Commands

- Syntax Check Properties

- Customize Syntax Check

- Syntax Checker

- Sort Reverse

## Plug-in API New Features

- Added the SORT_REVERSE and SORT_INSPECT_NOT_SEL_ONLY flags to the SORT_INFO structure and Editor_Sort inline function.

- Added the MANAGE_DUPLICATES_INSPECT_SEL_ONLY flag to the MANAGE_DUPLICATES_INFO structure and Editor_ManageDuplicates inline function.

## Macro New Features

- Added the V (sorts reverse) option and the eeSortInspectNotSelOnly flag to the Sort method of the Document object.

- Added the eeSortInspectSelOnly flag to the DeleteDuplicates method of the Document object.