New in Version 20.0
July 21, 2020
New General Features
- Added an ability to do partial matches (Key1containsKey2,Key1begins withKey2, andKey1ends withKey2) and split string matches on theJoin CSV command.
- Added a functionality to append (rather than replace) a filter to theFilter with Selection or Word at Cursor,Filter without Selection or Word at Cursor,Filter in Column, andFilter Out in Column commands while pressing the SHIFT key.
- Added thefile position at cursor to the dialog box displayed on theCharacter Code Value command.
- Added theCombine Lines command, which is useful for“nested” CSV operations, along with theSplit Column andJoin CSV commands.
- Greatly improved the speed of opening very large files inBinary (Hexadecimal View), theBatch Replace in Files, andJoin CSV commands by using multi-threaded code.
Test results:
v19.9 | v20.0 | Comparison | |
---|---|---|---|
Open a very large file in Binary (Hexadecimal View)*1 | 78.0 seconds | 1.84 seconds | 42.4 times faster |
Batch Replace in Files (Save Backups)*2 | 114 seconds | 0.359 seconds | 318 times faster |
Batch Replace in Files (Keep Modified Files Open)*2 | 9.38 seconds | 1.30 seconds | 7.22 times faster |
Join CSV (whole string match)*3 | 5.39 seconds | 2.11 seconds | 2.55 times faster |
*1 32.1 GB random data file, 32 bytes per line (default format).
*2 781 files, total 1.30 MB, 100 replace strings, total 470,346 replacements.
*3 two CSV files (122MB and 125 MB, 5,984,669 lines each).
All: Windows 10 (64-bit), Core i9-9900K, 16 threads, 32GB RAM, 2TB SSD.
New Options
- Added theConditions drop-down list box,Separator text box, andLimit splits check box and text box to theJoin CSV dialog box.
- Added the Combine Lines dialog box.
- Added theColumns list box to theSplit Column dialog box.
- Added theImport andExport buttons back toBatch Find/Replace (in Files) dialog boxes, and added the> button to show the context menu toBatch Find/Replace (in Files) andAdvanced Filter dialog boxes. Removed theAdd andDelete buttons fromBatch Find/Replace (in Files) dialog boxes.
- Added theFile Position at Cursor check box to theStatus list in theStatus page of theCustomize dialog box.
New Commands
- Combine Lines
Plug-in API New Features
- AddedJOIN_FLAG_CONTAIN,JOIN_FLAG_START_WITH,JOIN_FLAG_END_WITH,JOIN_FLAG_MATCH_SPLIT_BOTH,JOIN_FLAG_MATCH_SPLIT_ONE, andJOIN_FLAG_SWAPflags to theJOIN_INFO structure andEditor_Join inline function.
- Added theMANAGE_DUPLICATES_COMBINE flag, andnNumOfColumnsToCombine,anColumnsToCombine,pszInsert,nCombineFlags,pszLocale fields to theMANAGE_DUPLICATES_INFO structure.
- Added theMANAGE_DUPLICATES_COMBINE flag, andnNumOfColumnsToCombine,anColumnsToCombine,pszInsert,nCombineFlags,pszLocale parameters to theEditor_ManageDuplicates inline function.
- Revised theSPLIT_COLUMN_INFO structure andEditor_SplitColumn inline function.
- Added theBATCH_GREP_INFO structure and theEditor_BatchFindInFiles andEditor_BatchReplaceInFiles inline functions.
- Added thenTotalCount field to theGREP_INFO_EX structure.
Macro New Features
- Added eeJoinContain, eeJoinStartWith, eeJoinEndWith, eeJoinMatchSplitBoth, eeJoinMatchSplitOne, and eeJoinSwap flags, andstrSeparator andnLimit parameters to theJoin method of theEditor object.
- Added theCombineLines method to theDocument object.
- Revised theSplitColumn method of theDocument object.
- Added theClear method to theFilters collection.
- Added theBatchFindInFiles andBatchReplaceInFiles methods to theEditor object.
- Added return values to theFindInFiles andReplaceInFiles methods of theEditor object.