Toolbar, status bar, tab bar, menu bar, dark scrollbar, handle switching between light and dark, docking splitters and headers, flicker fixes. Minor tweaks to DarkMode.h. Mostly handles the dark mode request for the main interface for #7692 and also follows the windows system theme settings like #9183.
Fix#9183, fix#7692, close#9587
IFileDialog doesn't modify the current directory unlike the old file
dialog. Now the last used directory is remembered each time the user
changes directory and then set as working directory if needed.
Fix#9767, close#9775
Add "Append extension" checkbox to Save As dialog for replacing option "Save dialog file extension filter to *.*" in Preferences dialog.
Fix#9515, close#9732
The workaround is: in case of UDL, "-lLANG" argument part is ignored.
We let new instance detect the user lang type via file extension - it works in the most of case, except if user applies an UDL manually.
For example, this workaround won't work under the following situation:
user applies Markdown to a file named "myMarkdown.abc".
Fix#3451
Added Edge to the same case as the other browsers, which substitutes spaces for %20, and opens the files as expected and add legacy edge as a backup in case the new edge isn't found.
Fix#9313, close#9677
Remove a workaround for double backslash that leads to problems.
Originally, the double backslash workaround was needed to address #5368.
But now, the app isn't stuck when such path is used, so the problem is gone.
Fix#9582, close#9666
This reverts commit 1364b199b4.
3 ways we can choose:
1. PerMonitorV2: it would be the ideal solution if there were no custom control in Notepad++ : some part of the custom controls like panels and Find dialog are not rendered properly in PerMonitorV2 mode.
2. PerMonitor: in v7.9.3 WM_DPICHANGED message was not processed and that makes Notepad++ unusable under a high resolution monitor.
3. Without "PerMonitor" feature: (as in v7.9.2), it will be a little bit blurry, but at least the system resizes all parts of application correctly
This commit revert the modification in v7.9.3 and go back to the way in v7.9.2 (Without "PerMonitor" feature).
It's not easy to solve this issue, all I can do is choose the "less worst" way, just like people in world-wide vote for choosing their political leader.
Fix#9513, fix#9579