1. Add an option for displying constant line number width in Preferences dialog.
This option set the line number constant width according the total line number in the document (minimun 4 digits).
It ensures no unexpected visual effect while scrolling content vertically.
If the document content is modified and the total number of lines is increased or decreased, more digits will be added or removed according the number of digits in total number of lines.
2. Add new plugin messages NPPM_GETLINENUMBERWIDTHMODE & NPPM_SETLINENUMBERWIDTHMODE for getting or setting LINENUMWIDTH_DYNAMIC / LINENUMWIDTH_CONSTANT.
So plugins may send NPPM_SETLINENUMBERWIDTHMODE message with LINENUMWIDTH_CONSTANT to Notepad++ for avoiding some unexpected visual effect (while scrolling).
Fix#5670
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
The XML file is updated from v2.x to v3.2.0
in the commit: Edditoria/markdown-plus-plus@c137918
Also rename it shorter and starting with "m".
So users can sort their UDL file-list in tidy.
Close#9058
Close#8978
Follow up for these commits:
* Fix a shortcut causing a bug in Column editor dialog (55d671719c)
* Add "Open Containing Folder as Workspace" command (320aca73be)
* Add case insensitive lines sorting (61bf9bd3c4)
* Add alternative icon set for tab bar (79cf60f498)
* Make alternate icons of Tab bar changing dynamically (285172e36b)
* Add ability to copy marked text to the clipboard (9ab554a129)
* Add preference for save type of normal text files (bbde64c308)
* Add copy styled text to clipboard commands to menu (013305f306)
* Remove an obsolete command and its translation (9eecb1da13)
* Add ability to remove any duplicate lines... (77d4606967)
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