Use the Notepad++ Plugin Manager for easy installation or upgrade of Session Manager. New releases of Session Manager may be available here before they are available in the Plugin Manager. In that case use the following manual installation/upgrade procedure.
- Exit Notepad++.
- When upgrading from a previous version:
- Rename the existing SessionMgr.dll file (located in the Notepad++ plugins folder) so that it does not have a .dll extension, for example: SessionMgr-1.1.1.dll.bak (assuming its version is 1.1.1).
- Make a backup copy of all existing session files, the settings.xml file, and the global.xml file.
- If you are upgrading from a version older than v1.2 you will have settings.ini instead of settings.xml. Version 1.2 or higher will create settings.xml after which you should configure your settings again. You can then delete settings.ini.
- If you are upgrading from a version older than v0.8 you will not have global.xml.
- Download the Session Manager plugin archive file.
- Extract the archive file (with subfolders) into the Notepad++ plugins folder.
- Start Notepad++.
- Open the Settings dialog and configure Session Manager as you wish.
That completes the manual installation/upgrade procedure, but please note...
Session Manager will create its configuration files, if they do not already exist, in the plugin configuration folder reported by Notepad++. For more information see the Installation Folder and Configuration Files Notepad++ wiki pages (search for "doLocalConf.xml" and "allowAppDataPlugins.xml").
Session: A Notepad++ session consists of the pathnames of all the currently open files, their containing view, their tab order, their language setting, their cursor position, and more. These properties are stored in an XML file referred to as a session file. Some of these properties can be synchronized across different session files. See Global Properties for details.
Selected: The selected session is the highlighted session in the list of session names on the Sessions dialog.
Current: The current session is the active session – the one most recently loaded. In the sessions list it is marked with a diamond (◊, or ♦ if also a favorite) and is selected when the Sessions dialog is opened.
Previous: The previous session is the prior current session. In the sessions list it is marked with a bullet (◦, or • if also a favorite).
Default: When there is no current session a default session is used (you can also load it from the Sessions dialog). In the sessions list it is marked with a triangle (▵, or ▴ if also a favorite). You can rename the default session but you cannot delete it.
Favorites: Up to 20 favorite sessions are listed in the Notepad++ Plugins menu and optionally in the context (right-click) menu so you can quickly load them without opening the Sessions dialog. In the sessions list they are marked with a dot (·) except when a favorite is the current, previous or default session. After making changes to favorites you must restart Notepad++ for your changes to appear in the menus.
Loading: In general when loading a session, the current session will be saved then all its files closed. The selected sessions' files will be opened and it then becomes the current session. See below for options that affect how a session is loaded.
Saving: Saving a session means saving information about the currently open files in a session file. Saving a session does not save the session's open files.
Session Manager creates a submenu in the Notepad++ Plugins menu. You can customize Session Manager's menu items (see the Manual Settings section). The default labels and shortcuts follow. You can also configure your own shortcuts with the Notepad++ Shortcut Mapper. Favorite sessions are listed after the About item.
Main Menu Item
Session Manager (alt+p,s): Opens the Session Manager submenu.
Sessions (alt+p,s,s): Opens the Sessions dialog.
Settings (alt+p,s,t): Opens the Settings dialog.
Save current (alt+p,s,v): Saves the current session.
Load previous (alt+p,s,p): Loads the previous session.
Help (alt+p,s,h): Opens this HTML help file in your default web browser.
About (alt+p,s,a): Displays Session Manager version and other information.
Session Manager creates a submenu in the context (right-click) menu if you have Use context menu checked in Settings. The submenu is only created or updated when you make a change to your favorite sessions. You must restart Notepad++ for the changes to appear in the menus. The menu labels used in the context submenu are the same as those used in the Plugins menu and favorite sessions are listed after the About item.
Filters: This combo-box displays your current filters and allows you to add new filters. Sessions will only be displayed in the sessions list if their names match the filter, except that the current and previous sessions are always displayed in the list. A * filter matches all session names. Filters are applied as you type them.
Sessions: This list-box displays your sessions. You can select a session either with the mouse or with the keyboard arrow keys. Pressing an alphanumeric key will select the first session beginning with that letter or digit. When the Sessions dialog is opened the sessions list has the focus. You can shift+tab to the filters list and from there tab back to the sessions list. A mark will be to the left of a session name to indicate if it is the current, previous, default or a favorite session. You can specify the characters used as marks (see the Manual Settings section).
Load (alt+l): Loads the selected session. You can also double-click a session name to load it. After a session is loaded it becomes the current session.
Previous (alt+p): Loads the previous session.
Save (alt+s): Saves the current session.
New: Opens the Create New Session dialog. Creating a new session does not load the new session – it creates it, adds it to the list and selects it. You can then load it if you wish. There are three options for creating a new session.
- As an empty session: Creates a new, empty session. Note that an empty session contains no files, however Notepad++ always has at least one editor tab open. In this case it is a new buffer which has not yet been saved to a file. If you haven't edited it Notepad++ will close it when you open some other file.
- As a copy of the current session: Creates a new session by copying the current session.
- As a copy of the selected session: Creates a new session by copying the selected session.
Rename: Opens the Rename Selected Session dialog.
Delete: Opens the Delete Selected Session dialog. Deleting a session does not delete the files the session contains – it only deletes the session file itself, and it will be removed from the list. The current and default sessions cannot be deleted.
Favorite (alt+f): Toggles the favorite mark on the selected session. Up to 20 favorite sessions are listed in the Notepad++ Plugins menu and optionally in the context (right-click) menu but you must restart Notepad++ for your changes to appear in the menus.
Close: Closes the Sessions dialog. You can also press the ESCape key to close it.
Wildcards: This option is located to the right of the filters list and is labeled "* ?". If it is checked the filter can contain "*" and/or "?" wildcards. If it is not checked it's a match when the session name starts with the filter. The matching is not case sensitive.
The following options affect how a session is loaded. See the Combining Sessions topic in the Tips section for more information on their usage.
- Load into current (alt+i): If this option is checked the selected session will be loaded but it will not become the current session although the currently open files will be closed unless you check the next option. Your changes to this option are not saved.
- Load without closing (alt+w): If this option is checked the currently open files will not be closed before the selected session is loaded. For convenience this option is checked automatically when the above option is checked. Your changes to this option are not saved.
The following options determine how the sessions list is sorted.
- Sort by alpha (alt+a): Sorts alphabetically. Your changes to this option are saved.
- Sort by date (alt+d): Sorts by most recently used. Sessions with the same last-modified time are sorted alphabetically. Your changes to this option are saved.
The Sessions dialog is resizable and remembers its size. Drag one of the corners or sides of the dialog to resize it.
Auto save: If this is enabled the current session is saved...
- when any file is saved;
- when a file's language changes;
- when a file's bookmark margin is clicked;
- before a new session is loaded;
- when any file is opened, except when files are being opened due to a session being loaded;
- when any file is closed, except when files are being closed due to a session being loaded or due to a Notepad++ shutdown.
If Auto save is disabled sessions will only be saved when you select Save current from the plugin menu or click the Save button on the Sessions dialog. The default for Auto save is enabled.
Auto load: If this is enabled the most recently opened session will be loaded when Notepad++ starts up. If you enable Auto load you should disable the Notepad++ Remember current session for next launch feature. The default for Auto load is disabled.
Load into current: This setting is applied any time a session is loaded. It also determines the initial state of the Load into current checkbox on the Sessions dialog. The default is disabled.
Load without closing: This setting is applied any time a session is loaded except on startup where it is considered enabled. It also determines the initial state of the Load without closing checkbox on the Sessions dialog. The default is disabled.
Show in title bar: If this is enabled the current session name will be prepended to the text in the Notepad++ title bar. The default is disabled.
Show in status bar: If this is enabled the current and previous session names will be displayed in the Notepad++ status bar. The default is disabled.
Global bookmarks: This enables or disables the global bookmarks feature (see the Global Properties section). Note that if Auto save is disabled your global bookmarks will only get updated when you manually save the current session. The default for Global bookmarks is enabled.
Use context menu: This enables or disables the creation of a Session Manager submenu in the context (right-click) menu. The submenu is only created or updated when you make a change to your favorite sessions. The default for Use context menu is enabled.
Session files folder: This specifies the location of the session files Session Manager will display in the Sessions dialog. Click the ... button to browse for a folder. Set to an empty string to get the default value: plugins\config\SessionMgr\sessions.
Session file extension: This specifies the file name extension of the session files Session Manager will display in the Sessions dialog. Set to an empty string to get the default value: .npp-session.
OK: Click the OK button to save and activate your changes and close the Settings dialog.
Cancel: Click the Cancel button, or press the ESCape key, to cancel your changes and close the Settings dialog.
The Settings dialog is resizable and remembers its size. Drag one of the corners or sides of the dialog to resize it.
Tips & Tricks
Here are some tips for using Session Manager more efficiently.
Name your sessions with categorized prefixes or suffixes. This will group related sessions together in the list when it is sorted alphabetically. For example, I prefix some sessions with an underscore because I want those to appear at the top of the list. I have many web-related projects and I prefix those session names with "www_". An example of using a suffix is: "my-project_trunk", "my-project_rev-123", etc. That keeps them grouped together in the list when sorted alphabetically.
Here are two basic usage scenarios.
- Open the Settings dialog. Disable Load into current and Load without closing. Now loaded sessions become current and change to always reflect the latest changes to their files. This scenario does not use the default session.
- Open the Sessions dialog and load the default session. Open the Settings dialog. Enable Load into current and disable Load without closing. Now the default session is always current. When other sessions are loaded they are loaded into the default session. Other sessions do not change but always contain the same files and the default session always contains the most recently edited files.
Let's say the Sessions dialog is open and you have two sessions, A and B. Session A is current and session B is selected.
- Add B to A: Check the Load into current checkbox. The Load without closing checkbox is automatically checked. Load session B. Now session A is current and includes all of session B's files.
- Add A to B: Uncheck the Load into current checkbox and check the Load without closing checkbox. Load session B. Now session B is current and includes all of session A's files.
- Replace A with B: Check the Load into current checkbox and uncheck the Load without closing checkbox. Load session B. Now session A is current and only contains session B's files (it is now a copy of B).
Feedback & Support
This section contains advanced and technical topics which are not necessary to understand for normal usage of Session Manager.
For this feature Session Manager makes changes to the Notepad++ "contextMenu.xml" file. If the Session Manager submenu does not already exist it will be added to the end of the context menu. You can move it to a different location simply by cutting all Session Manager Item elements and pasting them somewhere else in the file. The Item element with id="0" creates a separator and you can add those wherever you want. Before editing the file disable the Use context menu setting and reenable it after editing the file or Session Manager may overwrite your changes.
If you have Use context menu enabled and you change existing menuLabel* settings, Session Manager does not remove the old items from the "contextMenu.xml" file. You have to remove those manually.
There are some changes you might want to make which cannot be made from the plugin's dialogs but must be made by editing the "settings.xml" file directly. Close Notepad++ and use some other editor to edit that file, then restart Notepad++.
To reset all settings to their defaults, close Notepad++, delete the "settings.xml" file, then restart Notepad++.
cleanGlobalProperties: If this is enabled, at startup the "global.xml" file will be cleaned of any File nodes whose files do not exist on disk. Previously this was enabled by default, but now it is disabled by default. Having it enabled all the time can cause problems, for example when you switch branches in svn or git.
sessionSaveDelay: See the Shutdown section for details. The default value is 3.
settingsSavePoll: This is the interval at which settings are checked for changes. If anything has changed the settings are saved to disk. The default value is 2 seconds.
*Mark: These settings optionally define the characters used as marks in the sessions list. The values must be decimal integers representing unicode characters. If any of these settings are missing, or have no values, the following defaults will be used.
menuLabel*: These settings optionally define the labels for the Session Manager plugin menu and context submenu. Session Manager will use default values (see the Plugin Menu section) for any items not defined here. Here is an example of customizing the menu items:
<menuLabelMain value="Session &Manager"/>
<menuLabelSub3 value="&Save current"/>
<menuLabelSub4 value="&Load previous"/>
*DialogWidth, *DialogHeight: These settings store the sizes of the Sessions and Settings dialog windows. You can set these to 0 to reset their sizes to the defaults.
debugLogLevel: This setting is probably not useful unless you are debugging SessionMgr itself. The default value is 0. If you are curious, set it to 30 and specify a debugLogFile.
debugLogFile: This setting is used only if debugLogLevel > 0. The value must be an absolute pathname of a file to which debug messages will be printed.
Favorites: These items define the favorites. You can edit these or add more, or delete these if you want to clear all favorites. Note that Session Manager supports session names up to 100 characters but Notepad++ only allows menu items up to 64 characters.
Filters: These items define the filters. You can edit these or add more, or delete these if you want to clear the filters list. On startup a "*" filter will be automatically added.
Session Manager provides an API which can be used by Notepad++ or other plugins. The "SessionMgrApi.h" file has documentation for this feature. A client sends an NPPM_MSGTOPLUGIN message to Notepad++ with wParam pointing to L"SessionMgr.dll" and lParam pointing to a SessionMgrApiData object. Clients can load sessions, save the current session, get the current session name, set the session directory, and more.
Notepad++ saves a file's bookmarks (and other properties) in the session file, so the same file in different sessions will not have the same bookmarks. Session Manager can keep files' bookmarks (and a little more) synchronized across different sessions (See Global bookmarks in the Settings Dialog section).
The file "global.xml", in the Session Manager configuration directory, stores bookmarks, firstVisibleLine and language for each unique pathname in all your sessions. There are 3 cases where these global properties are used...
- After a session is saved, the global bookmarks, firstVisibleLine and language are updated from the session properties.
- When a session is about to be loaded, the session bookmarks and language are updated from the global properties, then the session is loaded.
- When an existing document is added to a session, its bookmarks and firstVisibleLine are updated from the global properties, then the session is saved.
If you remove a certain file from all sessions then later add it to a session it will have bookmarks and firstVisibleLine restored from the last time it was part of a session.
The global properties feature was introduced in Session Manager 0.8, so if you have been using version <= 0.7.1 and you install version >= 0.8, the global properties file will be initially empty. Your global bookmarks will get updated as you load different sessions. You can speed up this process by loading all your sessions, one by one, in order from earliest to latest last-modified time, or in order from least to most important.
Session Manager does not immediately save the current session when a file is closed. It must determine if a shutdown is in progress in which case all files will be closed. We don't want to save the session if files are being closed due to a shutdown. When Notepad++ is about to shutdown it closes all files before it sends the shutdown notification to plugins. To work around this, when a file is closed Session Manager waits for saveDelay seconds (see the Manual Settings section). If the shutdown notification has not been received at the end of that time then the current session is saved.
This is not an ideal solution but it is very rare for a session to be saved incorrectly. When you initiate a shutdown Notepad++ first checks all open files. If a file is modified Notepad++ will offer to let you save the file, not save the file, or cancel the shutdown. If you choose to save the file then the plugin will receive NPPN_FILEBEFORESAVE, SCN_SAVEPOINTREACHED and then NPPN_FILESAVED, as usual. Notepad++ then continues checking open files and prompting you if any are modified. Only after all files have been checked does Notepad++ begin closing files.
So far, there is only one scenario I have found where Session Manager will save the session incorrectly. If you close one or more files and then quit Notepad++ before saveDelay seconds have elapsed then those closed files will still be part of that session.
Ideally, Notepad++ would issue NPPN_BEFORESHUTDOWN, then close all files, then issue NPPN_SHUTDOWN. In the case where the user cancels the shutdown it would issue NPPN_CANCELSHUTDOWN.
- Thanks very much to Pavel Nedev, Bernd G, Leandro and CarlitoGil for suggestions and bug reports!
- New feature: Filter is applied as characters are typed, not just when filters list loses focus.
- New feature: New setting ("useFilterWildcards") and corresponding checkbox ("* ?") on Sessions dialog. When checked, filter can contain "*" and/or "?" wildcards. When not checked, it's a match when session name starts with filter. The matching is not case sensitive.
- Improvement: If a file was loaded from the command-line, and auto-load was enabled, that file's tab would not be selected after the session loaded. Now, in that scenario, the first document of the first view will be activated after the session is loaded. This is somewhat of a compromise, but in most (perhaps all?) cases that first document will correspond to the first filename on the command line.
- Improvement: Do not pop up a message box with "There were no changes" message when OK pressed on Settings dialog with no changes.
- Improvement: Missing or new settings are added to the settings.xml file in the default order, not at the end.
- Bug-fix: Renaming a session marked as favorite caused it to be removed instead of renamed in settings.xml and contextMenu.xml.
- Updates to the help page.
- Your existing settings will NOT be upgraded to the new XML format and the old "settings.ini" file will NOT be deleted. After installing v1.2.1 you will need to open the Settings dialog and set your settings as you had them before installing v1.2.1.
- Settings are now read/written in XML format and as UTF-8. Your existing settings will be upgraded to the new format and the old "settings.ini" file will be deleted.
- There are two new settings, cleanGlobalProperties and settingsSavePoll, but only in the file, not on the settings dialog.
- Bug-fix (thanks Leandro!): When loading a file via the NPP command-line, the file was loaded but not the session, and the session was saved containing only that file opened via the command-line. I fixed that bug in v1.0.1 but evidently I caused a regression in v1.1.
- Bug-fix: Only the last new filter was being saved, and then only if the dialog was closed while that filter was active.
- Bug-fix: The Favorite button was not being repositioned when the dialog was resized.
- Made improvements and updates to the help page.
- Bug-fix: Favorite Item elements were being duplicated in the context menu.
- New feature: Filters! Only sessions that contain the filter, and the current and previous sessions, are displayed in the sessions list.
- New feature: Favorites! Sessions can be marked as favorites and up to 20 of them are displayed in the Notepad++ Plugins menu and optionally in the context (right-click) menu.
- New feature: Marks to the left of the name in the sessions list indicate current, previous, default and favorite sessions.
- New feature: Optional automatic creation and update of a Session Manager submenu in the context (right-click) menu.
- The default session file is now stored in the sessions directory with the other session files and is displayed in the sessions list. It can now be renamed (but not deleted).
- The SessionMgrApiData struct is now compatible with casting to NPP's CommunicationInfo struct.
- Bug-fix: Renaming a session caused a problem when the new name was longer than old name.
- Bug-fix: On margin click, the bookmark is not yet set in NPP. Saving the session then did not save the bookmark for that click, it only got saved the next time.
- Bug-fix: Initial ini file content had wrong menu property names.
- Made big improvements and updates to the help page.
- Fixed a regression bug reported by Bernd G (thanks!). Now, on startup, regardless of these options in the settings file, it considers Load into current to be false because there is no current session on startup, and it considers Load without closing to be true so it doesn't close files opened via the NPP command line.
- Removed global properties support for the "encoding" attribute. It seems NPP doesn't use it, it's always -1.
- Updated the help file.
- After three years Session Manager is finally released as version 1.0!
0.8.4.1, 06Nov2014 (binary not released)
- Unicode-related fixes and improvements:
- Modified TinyXml2's load/save to support unicode file names.
- Adds an XML declaration if it is missing from the global properties file. However, NPP saves session files without a declaration.
- Rewrote the 'pth' functions to be more unicode safe.
- The debug log file name and messages can now be unicode.
- No longer includes 'tchar.h' and no longer uses _T, TCHAR and related macros. Uses wide chars and wide stdlib and Win32 functions explicitly. Still defines UNICODE and _UNICODE.
- Session files are read/written as UTF-8. The 'settings.ini' file is still read/written as UTF-16LE – keep that in mind if you edit the file manually. I may eventually change that file to XML format and UTF-8 encoding.
- Writes pathnames in session files (using UTF8-CPP) in the format NPP requires: all chars < 32 or > 126 are converted to entities.
- Renamed 'file-properties.xml' to 'global.xml'. Sorry for the non-back-compat change. You can just rename the old file to the new name.
- Improved error handling and messages, but it needs more testing.
- Using dynamic allocation in many places instead of static buffers.
- Using newer style for BrowseForFolder (should be supported by 98, ME and above).
- On startup, cleans the global file properties file by removing File elements whose files do not exist on disk.
- Implemented an API that can be called by NPP or other plugins. Documented in 'SessionMgrApi.h'.
0.8.3, 28Oct2014 (binary not released)
- Bug fix: Now properly updates current and previous session names on delete or rename.
- Now will not let you delete the current session.
- Moved the global properties functions to their own file.
- Made misc minor improvements to the code.
- Experimenting with doxygen notation.
- Made big improvements to the help page.
- Fixed a bug reported by Pavel (thanks!): When about to load a new session, do not save the current session if Auto save is disabled.
- In the "Create New Session" dialog, renamed "From the currently open files" to "As a copy of the current session" and renamed "By copying the selected session" to "As a copy of the selected session".
- Renamed some Config class methods.
- Tweaked some button positions.
- Made improvements to the help page.
- Added an option to sort the sessions list by the session files' last-modified times in addition to alphabetically.
- Improved the algorithm for resizing/repositioning controls when the dialog is resized by the user. Fixed a bug related to saving/restoring the dialog size.
- Added a checkbox on the Settings dialog for the global bookmarks feature.
- Some controls on the Sessions dialog now have keyboard shortcuts. Hold Alt then hit: l = Load, p = Previous, s = Save, i = Load into current, w = Load without closing, a = Sort by alpha, d = Sort by date.
- Improved debug logging. Current and active buffer IDs are logged for notifications.
- Changed the About text.
- Made big improvements to the help page.
- Global bookmarks! Uses TinyXml2.
- Saves the session when the bookmark margin is clicked.
- Writes messages to a log file when in debug mode.
- Uses Windows SDK v7.1, was v7.0a. Still uses MSVS2010 command-line tool chain.
- Updated header files from NPP 6.6.9.
- Issue reported by light2some: When a file is first changed the titlebar text does not get the session prefix. Fix: Update the titlebar text one second after the SCN_SAVEPOINTLEFT Scintilla event (NPP doesn't prepend the "*" until after the event).
- Upgraded header files from NPP v6.2.3: menuCmdID.h, Notepad_plus_msgs.h, PluginInterface.h and Scintilla.h.
- [Minor NPP bug?] It's not a problem but I noticed that, in Notepad_plus_msgs.h, NPPN_DOCORDERCHANGED and NPPN_READONLYCHANGED have the same value (NPPN_FIRST + 16). Also, I cannot detect either of these events in my plugin code, even tho NPPM_INTERNAL_DOCORDERCHANGED seems to be handled correctly in the NPP source code.
- The Sessions dialog and the Settings dialog now remember their sizes after being resized.
- The previous session is now remembered and can be loaded via a new menu option, "Load previous", and a new button on the Sessions dialog, "Previous".
- The name of the current session is now prepended to the text in the Notepad++ title bar. This is enabled by a new option on the Settings dialog, "Show in title bar".
- The names of the current and previous sessions are now displayed in the Notepad++ status bar. This is enabled by a new option on the Settings dialog, "Show in status bar".
- The labels for the Session Manager plugin menu are now optionally defined in the settings.ini file.
- The setting "Enable 'Load into current'" was renamed to "Load into current". The setting "Disable 'Load without closing'" was simplified to "Load without closing".
- There is now a folder browse button next to the "Session files folder" edit control on the Settings dialog.
- Added danrathbun's Context Menu tip to the Help file. There were no code changes.
- The bugfix in the previous release has been confirmed.
- In the New Session dialog box, clicking one of the options (when the edit field is empty) will populate the edit field with the selected session name.
- Possible bugfix (strange characters in names): I think I have found and corrected this problem.
- Changed button name from Cancel to Close on the Session Manager dialog.
- If the session directory specified in the Settings dialog does not exist then it is created.
- Changed Sessions and Settings dialogs to have TOOLWINDOW style.
- Bugfix: When the Sessions listbox was displayed the focused item and selected item were not always the same.
- Added getLbIdxByData and dbgBox in Util.cpp.
- Added enableLIC and disableLWC to DEFAULT_INI_CONTENTS.
- Commented-out saving of current session on NPPN_DOCORDERCHANGED - this event never occurs?
- Moved definition of unicode constants from System.h to Makefile.
- The 0.2 source archive did not include the build files. They are included now.
- Session template files are no longer used.
- Previously, upgrading Session Manager would cause the existing configuration files to be over-written. Now that does not happen. Session Manager creates default configuration files only if they do not already exist.
- Session Manager now uses a default session (located in the config folder) if there is no current session. The default session can be loaded by clicking the newly added Default button on the Sessions dialog.
- A Save button has been added to the Sessions dialog. It saves the current (or default) session.
- Sessions are auto-saved on two additional NPP events: NPPN_LANGCHANGED and NPPN_DOCORDERCHANGED.
- The second option for creating a new session has changed to "From the currently open files", which basically is a session "save as" feature.
- Previously if you opened files by passing them on the Notepad++ command line and Auto load was enabled then Session Manager would close the file(s) Notepad++ had just opened (passed on the command line). This has been corrected. Now Session Manager will not close open files when auto-loading.
- Increased the initial width of the Settings dialog. Removed all debug properties except one, named "debug". Added two more boolean properties: enableLIC and disableLWC.
- Add a trailing slash, if needed, to the user-entered session folder. Add a leading dot, if needed, to the user-entered session file extension.
- Made general improvements to the code. Fixed a dependency-related bug in the Makefile. Made big improvements to the help file.
- Compile with /MT so the crt library is linked statically.
- Display a warning if no file name is supplied for New or Rename dialogs.
- If the config and sessions folders do not exist then create them. If config and template files are not present then default files are created.
- An empty session folder will not cause an error.
- Build with an nmake makefile. Still uses the VC++ v10 toolchain, but now is not dependent on any IDE.
- Removed saveDelay from Settings dialog, but it is still in the .ini file.
- Sessions and Settings dialogs are sizable but do not yet save user size/position.
- The session list is read from disk every time the Sessions dialog is displayed. Removed "Refresh Session List" from the menu.
- Initial release. Compiled with VC++ 2010. Tested with Notepad++ v5.9.2 on WinXP-SP3. Unicode only.