History — Version 21.1

# Version 21.1

August 31, 2021

## New General Features

- By default, the new version does not change the default macro when you select one of My Macros or press the shortcut key assigned to a macro. This behavior is customizable by the Running one of My Macros will set it as the default macro check box in the Options page of the Customize Macros dialog box.

- Added the Set Default command to the right-click menu on one of My Macros on the Macros menu.

- The new version sets the Use DirectWrite option by default (Please disable this option if the speed is most important).

- The new version shows many OS-supported Emoji Sequences and Emoji ZWJ Sequences correctly when you move the cursor or select the Character Code Value command.

- Changed the Unicode Name format for combined characters (used a semicolon instead of AND).

- Disable the radio buttons to select per-user or per-computer install in the installer by default.

- Improved the speed of various operations.

### Test results:

| v21.0 | v21.1 | Comparison
--- | --- | --- | ---
Run a macro (repeatedly switch documents and insert characters) | 28.8 seconds | 14.0 seconds | 2.06 times faster

\* Use the testmacro below. Default settings except Direct Write off, 16 threads, Windows 10 (64-bit), Core i9-9900K, 64GB RAM, 2TB SSD.

### Test macro:

document.selection.Text="a";

editor.NewFile();

doc1 = editor.Documents.Item(1);

doc2 = editor.Documents.Item(2);

for( i = 0; i < 1000; ++i ) {

doc1.Activate();

doc1.selection.Text="a";

doc2.Activate();

doc2.selection.Text="a";

}

## New Options

- Added the Set this as the default macro and Suppress redraw check boxes to the Macro Temporary Options dialog box.

- Added the (Clipboard) option to the menu displayed when the ...▼ button is clicked in Macro Temporary Options dialog box.

- Added the Set this as the default macro check box to the Advanced Open dialog box.

- Added the Running one of My Macros will set it as the default macro check box and Default language option to the Options page of the Customize Macros dialog box.

## New Commands

- Run Clipboard Macro

## Plug-in New Features

- Improved the speed of opening the candidate list or the WordComplete plug-in when the dictionary is very large.

## Macro New Features

- Added the nType parameter to the WriteProfileString method of the Editor object.