New in Version 19.0
July 30, 2019
New General Features
- Added an ability tocheck syntax ofHTML,CSS, andJSON documents usingCSS HTML Validator Lite (EmEditor edition), which is included in the installer.
- Added an ability tocheck syntax ofXML documents using MSXML Parser.
- TheValidate CSV command is now called theSyntax 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 theConfiguration Properties dialog box).
- Added the newSort Reverse command, which allows you to sort document(s) in reversed order.
- Greatly improved the speed of switching to aCSV mode, and theSyntax Check (CSV) andAdjust 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 theSyntax Check page to theCustomize dialog box.
- Added theSyntax Check page to theConfiguration Properties dialog box.
- Added theUnderline Color drop-down list box to theDisplay page of theConfiguration Properties dialog box.
- Added theEnable file mapping when saving a large file check box to theFile page of theCustomize dialog box.
- Added theInstruction Set drop-down list box to theAdvanced page of theCustomize dialog box.
- Added theNumber of Tabs option to theType drop-down list box in theOutline page of configuration properties.
- Added theInspect Selected Strings Only radio button to theDelete Duplicate Lines dialog box.
- Added theInspect only selected strings when vertical seleciton or multiple selections exist (Delete Duplicates command) option to theEdit page of theCustomize dialog box.
- Added theInspect only selected strings when vertical seleciton or multiple selections exist option to theSort page of theCustomize 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 theSORT_INFO structure andEditor_Sort inline function.
- Added the MANAGE_DUPLIDATES_INSPECT_SEL_ONLY flag to theMANAGE_DUPLICATES_INFO structure andEditor_ManageDuplicates inline function.
Macro New Features
- Added theV (sorts reverse) option and theeeSortInspectNotSelOnly flag to theSort method of theDocument object.
- Added theeeSortInspectSelOnly flag to theDeleteDuplicates method of theDocument object.