Folding state is now saved and restored by "sessions".
Furthermore, with this patch, the session information of a number of recently opened files are saved like for a session but independently.
Whenever a file is closed, the session information is written into an extra node (FileEditViewHistory) into the config.xml file. The list of files in this node is managed like the node for the history of recently opend files.
Whenever a file is opened, and this feature is enabled, the filename is searched in the list of files in the FileEditViewHistory-node.
When it is found, the session information for that file is restored.
The Settings-Preferences-MISC dialog is enhanced with a checkbox to enable/disable this functionality and the possibility to set the number of files to remember.
Patch is based on NPP 6.2.3 (SVN 969)
xSaveFoldingStateSession: for saving / restoring the folding
xFileEditViewHistory: for the basic functionality of session information per file
xFileEditViewHistoryParameterGUI: for the Settings-Preferences-MISC dialog upgrade