History — Version 17.0

# Version 17.0

July 18, 2017

## New General Features

- Greatly improved the EmEditor launch speed by optimizing the code to save settings (especially for the portable versions or when many macros are registered to My Macros). See the test results table below.

### Test results:

| v16.9.1 | v16.9.3 | v17.0 | Comparison to v16.9.1
--- | --- | --- | --- | ---
Launch Time | 5.45 seconds | 0.734 seconds | 0.141 seconds | 38.7 times faster

\* 64-bit portable version (using INI files), 119 macros registered to My Macros, 9 plug-ins, 20 recently used files, 20 recently used folders, 10 recently used fonts. Measured the duration of the program initialization, Windows 10 (64-bit) Core i7-4790 16GB RAM.

- When the Save Cursor Position and Bookmarks check box is set in the History page of the Customize dialog box, previous versions saved cursor positions and bookmarks only for recently used files. The new version saves the information up to specified days (maximum 30,000 days). Moreover, the bookmarks can be indefinitely remembered by the option.

- If a read-only file is detected during Replace in Files, the new version displays a warning message in the Output Bar.

- The new version shows the margin (number of characters) in the tooltips when the mouse pointer hovers over the Wrap by Characters, Wrap by Window or Wrap by Page buttons in the toolbar.

## New Options

- Moved the Save Cursor Position and Bookmarks check box from the File page to the History page of the Customize dialog box.

- Added the Number of Recent Searches text box, Number of Days to Save text box, and the Never Clear Bookmarks check box to the History page of the Customize dialog box.

- Added the Clear History dialog box, which will be displayed when the Clear History button is clicked in the History page of the Customize dialog box.

- Added the Use Default Keywords check box to the Highlight (1) page of configuration properties.

- Added the Synchronize History with Find/Replace Dialog Boxes check box to the Search page of the Customize dialog box.

- Added the Synchronize with Find command to the menu displayed when the > button by the Replace with drop-down list box is clicked in the Replace dialog box.

- Added the Drop-down List Font drop-down list to Toolbars dialog box.

## New Commands

- Delete Old Settings

## Plug-in New Features

- Added the Click to run a macro check box and the Macro File Filter text box to the Explorer plug-in Properties, and the Explorer plug-in allows you to click a macro file to run the macro instead of editing the macro.

- Added the Run this Macro with EmEditor command to the context menu displayed in the Explorer plug-in custom bar.

## Macro New Features

- Added the ExecuteMacro method and RegisteredName property to the Editor object.

- Added the SerialToLogical, LogicalToSerial, LogicalToView, ViewToLogical methods to the Document object.

- Added the Point object.

## Bug Fixes

- Fixed a certain bug related to the Delete Duplicate Lines command.

- Fixed the bug where the Adjust Separator Positions (Whole Document) command was grayed out when a read-only file is opened.

- Fixed the bug where the EE_VIEW_TO_LOGICAL message did not work correctly on the 64-bit version.

- Fixed the bug where the background color of the current line might have become incorrect when the Move Line Up or Move Line Down command was used.

## Remarks

When this version is first launched, the old settings will be converted to new settings. The old settings will remain, but selecting the Delete Old Settings command will clear them at anytime. In rare cases, this version might not be compatible with a few old plug-ins and macros. Specifically, plug-ins and macros that depend on the registry information listed in the Technical Information below might not work anymore. Please verify if this version works with your plug-ins and macros, and let us know if there are any issues at the forum or by emails so that we can resolve those issues. If you are using Aye Wong's MacroPopupMenu2, please download and run a new macro called PopupMacros.jsee. If you are using a macro to set the current macro temporarily, please rewrite it by using the new ExecuteMacro method (refer to the PopupMacros.jsee macro as a sample).

## Technical Information

Obsolete registry keys:

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\ActiveString

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Macros

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\PlugIns

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent File List

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Folder List

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Font List

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Insert List

HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Recent Workspace List

Obsolete registry values in HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Config\(Configuration Name) (including already obsolete values on older versions):

Accel

Clr

Clr11

Clr12

Clr14

Clr14_2

Clr14_3

Clr14_6

Clr15_4

Clr15_8

Clr2

Clr3

ClrPreview

ClrVar

ConfigCopiedFrom

ContextMenu

DevMode

DevNames

GuideArray

HW

HW2, HW3, HW4, ...

IgnoreIndent

RegexIndentBegin

RegexIndentEnd

RegexIndentStatement

InitialFolder

JumpListMenu

LineComment1

LineComment2

MainMenu

MaxFindPreview

NW

OutlineBar

OutlineBarInit

OutlineComments

OutlineGuide

OutlineGuideInit

OutlineGuideMax

OutlineHideMatch

OutlineIndentType

OutlineLevelSize

OutlineMatch-1 ... OutlineMatch-32

OutlineRegex-1 ... OutlineRegex-32

OutlineReplace-1 ... OutlineReplace-32

OutlineVer

OutlineViewLevel

PIK

PIKM

PIKT

TabMenu

Tmpl

TrayMenu1

TrayMenu2

TrayMenu3

TrayMenu4

TrayMenu5

TrayMenu6

TrayMenu7

TrayMenu8

Obsolete registry values in HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Common:

RecentFilterList (obsolete on v16.9)

Newly added data files: