New in Version 15.5
Start Window
When starting EmEditor without opening files, the new Start window now appears (it can be disabled by settings). The Start window allows you to select previously used workspace (default workspace), recently used files, or a recently used folder by clicking the corresponding item with the mouse button or pressing the UP, DOWN, and Enter keys.
The Start window is designed to be lightweight and unobtrusive. When the Start window is opened, the keyboard focus is still in the editor, and entering text or selecting a command will hide the Start window. Also, pressing the DOWN key while a new document is opened brings up the Start window.
Call Plug-ins From Macros
The new ExecutePlugin method allows you to call plug-in features from within macros. This allows, for example, a snippet feature temporarily even when the Snippets plug-in is not running. See “Examples to call plug-ins from macros” below.
Examples to call plug-ins from macros
Calls the Snippets plug-in, and wraps the selected text with HTML/XML tags.
editor.ExecutePlugin("Snippets.dll", eePluginUserMessage, 0, "<${1:p}>${2:${SelText}}$0" );
Calls the Projects plug-in, and opens the specified solution file.
editor.ExecutePlugin("Projects.dll", eePluginUserMessage, 0, "E:\Test\Test.eesln" );
Calls the Search plug-in, searches the document for the specified string and shows the result list.
editor.ExecutePlugin("Search.dll", eePluginUserMessage, eeFindReplaceCase | eeFindReplaceRegExp, "Test" );
Simply runs the specified plug-in
editor.ExecutePlugin("E:dirplugin.dll", eePluginExecuteCommand | eePluginAbsolutePath );
Retrieves the specified plug-in status.
status = editor.ExecutePlugin("E:dirplugin.dll", eePluginQueryStatus | eePluginAbsolutePath );
Pre-installed Macros
By default, 3 macros (“Sum“, “Validate XML“, and “Wrap in HTML/XML tags“) are installed to the Macros sub folder of the install folder. These macros are added to the My Macros list, but can be removed from the My Macros list. Once removed from the list, they will not be added to the My Macros list.
Other New Features
New features
- In previous versions, CSV separators and horizontal/vertical lines became invisible when selecting text. The new version makes them visible. Currently, there are no related options, but please let us know if you need this behavior optional.
- CSV modes, headings, and separator positions are now included in workspaces.
- The limit for the filter string length was relaxed to 10,000 characters long.
- The limit for the header and footer strings in the Split Current Document into Several Files wizard was relaxed to 10,000 characters long.
- The Extract Columns, Join CSV, and Sort by Multiple Columns dialog boxes now allows you to select multiple items move up and down in the list.
- The Wrap by Window command was added to the context menu displayed when right-clicked in the Output bar.
- After CTRL+F12 to start splitting an EmEditor window, pressing HOME, END, PAGE UP, or PAGE DOWN moves the splitter position to an edge of the window.
New Options
- The Customize Start Window button was added to the Window tab of the Customize dialog box, and the Customize Start Window dialog box was added.
- The Double-click to Select a Cell check box was added to the CSV tab of the Customize dialog box.
- The Shortcut Key text boxes in the Customize Tray Icon dialog box allow you to enter CTRL + SHIFT and ALT + SHIFT key combinations.
- The following REG_DWORD values can be set in the HKEY_CURRENT_USER\SOFTWARE\EmSoft\EmEditor v3\Common key to set the width of drop-down list boxes.
CWFind: the Find drop-down list box in the Find toolbar. Default: 0xc8 (200)
CWReplace: the Replace drop-down list box in the Find toolbar. Default 0xc8 (200)
CWFilter: the Filter drop-down list box in the Filter toolbar. Default: 0xc8 (200)
CWColumn: the Column drop-down list box in the Filter toolbar. Default: 0x7d (125) - The following REG_DWORD values can be set in the HKEY_CURRENT_USER\SOFTWARE\EmSoft\EmEditor v3\Common key to set the maximum length for the file name when the Automatically Name Untitled Document check box is checked in the Save Details dialog box.
MaxNameUntitled: the maximum length for the file name including the terminating NULL character. Default: 0x50 (80)
New commands
- Start Window
- Wrap by Window (Output Bar)
Plug-in New Features
- The Snippets plug-in supports user messages. Even while the plug-in is not running, you can call the plug-in to run a specified snippet string from a macro.
- The Projects plug-in supports user messages. You can call the plug-in to open a specified solution file from a macro.
- The Search plug-in supports user messages. You can call the plug-in to search the document for a specified string and show the result list.
Plug-in API New Features
- The EE_EXEC_PLUGIN message, Editor_ExecPlugin inline function, and EXEC_PLUGIN_INFO structure were added.
- The EI_GET_COMBINE_HISTORY parameter was added to the EE_INFO message (Editor_Info inline function).
- The EP_USER_MSG message was added to the Messages to the plug-ins.
Macro New Features
- The CombineHistory property was added to the Window object.
- The ExecutePlugin method was added to the Editor object, and the eePluginExecuteCommand, eePluginUserMessage, eePluginQueryStatus, eePluginAbsolutePath flags were added.
- The LangID property was added to the Editor object.