Commit Graph

4 Commits

Author SHA1 Message Date
Don HO
a68805b7ff
Make user defined overrideMap.xml not overridable during installation
Fix https://community.notepad-plus-plus.org/topic/20534/notepad-v7-9-2-release-candidate-2/4?_=1609416552124
2020-12-31 20:16:00 +01:00
Don HO
0472052f8e
Make installer override all the function list files on the installation 2020-12-31 03:50:56 +01:00
Don HO
814e6591b5
Fix function list is empty with new user profile issue
The new behaviour of loading function list will be:

1. For the installer package:
Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from %PROGRAMFILES%\Notepad++\functionList\.
In this way, users can override function list in %APPDATA%\Notepad++\functionList\ manually. Otherwise, function list won't be empty.

2. For the portable package:
  - with doLocalConf.xml : Load always from <Notepad++ Dir>\functionList\
  - without doLocalConf.xml : Try to load from %APPDATA%\Notepad++\functionList\, if it failed, then load from <Notepad++ Dir>\functionList\

Fix #9134
2020-11-27 03:54:37 +01:00
Don HO
c0c070abaf
Split functionList.xml into multifile in "functionList" Folder
New "functionList" will be added beside of notepad++.exe or "%APPDATA%\Notepad++\", according the installation mode. If the portable package is used, after removing "doLocalConf.xml", the "functionList" folder should be copied manually from Notepad++ installed directory to "%APPDATA%\Notepad++\" to make function list work again.

All splited files are localized in this folder with the explicit language name.

"overrideMap.xml" is optional for overriding the default functionList parse rule files, and for adding UDL parse rule files.

Close #4896
2020-10-21 18:05:08 +02:00