Commit Graph

2524 Commits (8d1d8cfcb9d7910c1aa1d022eb19167b43afa121)

Author SHA1 Message Date
mere-human 5e28b47ff8 Fix corrupted encoding text on status bar
Remove the shortcut text from the menu text that is used in status bar.

Fix #10146, close #10148
2021-07-14 19:37:54 +02:00
Don Ho 599f1852c7 Update localization files 2021-07-14 18:48:22 +02:00
Don Ho 831d3ba9cc Add customizing dynamically dark mode colors capacity
Let users customize whole set of dark mode colors (except title bar, menu items and scroll bar colors).

Close #10145
2021-07-14 03:33:36 +02:00
ozone10 b3fdfdd064 Improve DarkMode toggling
Make choosing dark tone to not require turning back to light mode.

Close #10141
2021-07-12 01:32:51 +02:00
ozone10 fb91093ccb Activate dark mode in Windows 11
Allow dark mode in Windows 11 insider build 22000 and later.
Per this comment #10122 (comment)

Fix #10136, Close #10135
2021-07-10 14:23:55 +02:00
Don Ho 39b9090b96 Make Notepad++ dark mode colors customizable
Add 6 more color choices.

Close #10128
2021-07-10 14:18:36 +02:00
ozone10 066ef8a4a0 Make dark mode restartless
Fix #10121, close #10122
2021-07-09 12:25:49 +02:00
ozone10 ae56255be6 Enhance listview column header in dark mode
Use different approach to make listview header dark.

Close #10106
2021-07-06 19:41:37 +02:00
mere-human a0472fd7f2 Use current file directory in File Rename dialog
and fix "Remember last used directory" unexpected behaviour.

Fix #10095, fix #10115, close #10100
2021-07-06 16:05:20 +02:00
Ashfaaq18 80c285ee2d Add a Save all confirm dialog
and add also an option in Preferences dialog to enable or diable the dialog.

Fix #2124, fix #9931, close #9968
2021-07-06 03:56:29 +02:00
Scott Sumner 27524e1d4d Improve link to user manual on questionmark menu
Fix #10087, close #10088
2021-07-04 19:16:46 +02:00
Don Ho 7bb39a08f1 Open a file from command line by applying an existent UDL via UDL name
Add command line flag -udl="UDL name" to open a file by applying an existent UDL via its name.

Close #10102
2021-07-04 19:03:52 +02:00
Don Ho 88665b5d17 Add an xkcd's quote 2021-07-04 18:56:14 +02:00
Don HO ea09b9f191 Notepad++ 8.1.1 release 2021-07-04 15:59:54 +02:00
Don Ho f65f00c63f Fix ASCII panel display problem in dark mode + light theme (default styler.xml) 2021-07-01 13:56:47 +02:00
Don Ho 4ae1063774 Fix dark mode applied correctely only for 1 project panel issue 2021-07-01 04:31:02 +02:00
ozone10 75643560a3 Improve dynamic switching for scrollbars.
For main and sub edits, finder (search result docking window) and clipboard history panel.

Fix #10083, close #10084
2021-06-30 16:42:27 +02:00
Don Ho 60105d68f7 Fix Doc Switcher panel not follow theme in dark mode
Plus add highlightHotTrackColor in dark mode & clean up.
2021-06-30 16:02:34 +02:00
Don Ho 36ea7e8b3e Make column headers of ASCII panel & doc switcher apply to dark mode
Close #10082
2021-06-30 03:43:14 +02:00
ozone10 1da707128a Fix regression: disable Explorer Theme for TreeView
Ref: #10061

Close #10062
2021-06-28 02:18:59 +02:00
Don Ho 3347044595 Fix edit zone not being applied to dark mode issue
Problem:
After installing Notepad++ v8.1 under an user account (with admin privilege), then switch to another user account (with or without admin privilege), launch Notepad++ and turn dark mode on. The dark theme on edit zone won't be applied.

Solution:
Notepad++ installer copies all theme files in installed directory instead of "%APPDATA%\Notepad++\themes\".
When theme is choosen or modified, it'll be saved in "%APPDATA%\Notepad++\themes\", and the saved theme file will override the original theme in installation directory.

New behaviour of theme:
Any theme selected via Style Configurator will be copied from its installation directory (C:\Program Files\Notepad++\themes\) into "%APPDATA%\Notepad++\themes\".
If the theme exists in "%APPDATA%\Notepad++\themes", the original one in s installation directory (C:\Program Files\Notepad++\themes) will be ignored.

Fix #10076, close #10077
2021-06-27 16:42:01 +02:00
Don Ho da0fc02c5c Update some Fluent UI Icons for both dark & light mode
Fix #10075
2021-06-27 12:39:17 +02:00
ozone10 034666894f Adapt docking tab for dark mode
Fix #10067, close #10068
2021-06-25 17:06:21 +02:00
Christian Grasser 2e0d358cdc Adapt for VS2019 builds with toolkit v142
Fix #9922, close #9942
2021-06-25 15:26:27 +02:00
ozone10 219cec8000 Allow dynamic dark/light mode change for tooltips
Fix #10059, close #10060
2021-06-24 03:44:15 +02:00
Don Ho f27e561379 Apply dark mode to function list's toolbar
Close #10058
2021-06-24 02:41:21 +02:00
mere-human 6a4ef408f2 Fix GCC compiler warnings in Notepad++
Fix #10037, close #10048
2021-06-23 12:49:06 +02:00
Don Ho 296e1c695e Fix root menu item mouse hover color issue while being back in light mode
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/10039#discussion_r656151554
2021-06-23 02:33:15 +02:00
ozone10 c8be679cde Use Explorer theme for list- and tree-views
Apply Explorer theme on list- and tree-views.
Allow dynamic change between dark and light mode in these views.
Add border to document switcher for consistency.
Refactor code in TreeView.cpp to make it consistent.

Fix #10055, close #10056
2021-06-23 01:53:31 +02:00
Don Ho 5df7c97f98 Clean up: remove unecessary code for dark mode 2021-06-22 12:17:49 +02:00
Don Ho e4ebeed6f9 Make Project Panel toolbar conform to dark mode
Close #10039
2021-06-21 13:00:10 +02:00
ozone10 a6bbdeb92e Make line above panel toolbar dark in dark mode
Fix #10043, close #10042
2021-06-21 12:48:12 +02:00
ozone10 ffbf3af029 Make DarkMode title bar to apply on all dialog on dark mode
Also remove border from clipboard history panel.

Close  #10023
2021-06-20 19:09:35 +02:00
Don Ho bef4da61be Provide the whole set of arguments to initialize "Colors" structure
9c13d657c9 (r52399592)
2021-06-20 15:07:48 +02:00
Ashfaaq18 c2534ee8f2 Make the Search Results Window locked (grayed) until the first search
The search result window option will only enable after the first Find All search

Fix #9655, close #9967
2021-06-20 03:24:10 +02:00
Don HO 33d7712337 Notepad++ 8.1 release 2021-06-17 02:25:09 +02:00
Adam D. Walling acf91fc2c2 Make multiline and vertical tabs work in dark mode
Dark mode tab drawing should work for multiline and vertical tabs

Close #10017
2021-06-17 01:23:10 +02:00
Don Ho fc94015bff Fix plugin icons not displayed regression 2021-06-16 02:57:06 +02:00
Don Ho 9c13d657c9 Better look & feel in dark mode
Fix #9982
2021-06-15 17:48:21 +02:00
ozone10 467870d66e Add DarkMode Tooltips
Fix #9962, close #9963
2021-06-13 00:35:12 +02:00
Don Ho 2f51902e9c Fix Notepad++ crash on dark mode while starting up
Fix #9961
2021-06-12 01:49:05 +02:00
Adam D. Walling 7e139e1ba2 Remove menubar white line under dark mode
Fix #9984, close #9985
2021-06-11 20:15:09 +02:00
mere-human aa17a4bc7a Fix Open dialog with "Save" label for OK button
Now Open dialog shows Open label on the button instead of Save.
Don't change any button labels.
Instead, get the leftmost button when overriding the window procedure.

Fix #9966, close #9973
2021-06-11 19:56:47 +02:00
Don HO c6d14e9245 Notepad++ v8 release 2021-06-07 01:18:21 +02:00
Don Ho 06657c82b3 Remove Microsoft Bing from search engines for Search on Internet command
Ref: https://www.reuters.com/technology/microsoft-bing-raises-concerns-over-lack-image-results-tiananmen-tank-man-2021-06-04/

When a search engin does the censorship instead of its job, the search result loses its quality and it's not reliable anymore.
Hence, Microsoft Bing is removed from Notepad++ for "Search on Internet" command.
2021-06-06 16:42:45 +02:00
mere-human 0e1a4663d9 Fix append extension feature not working in save dialog
In some cases, checkbox was found instead of OK button and window procedure was overriden for it. Now, the OK button is identified using style and label checks.
Also, in some cases IFileDialog::GetFileTypeIndex() returns the old value. To fix that, always remember the file type selected.

Fix #9939, close #9945
2021-06-06 14:32:18 +02:00
Udo Hoffmann f9d6fb9e31 Close all tabs in stack with single action
Shift-click closes the whole stack.

Fix #8922, close #9930
2021-06-03 02:21:08 +02:00
Don HO 066b694d56 Remove unecessary codes 2021-06-03 00:13:38 +02:00
Adam D. Walling 5908166a63 Invert lightness of toolbar icon for dark mode
Close #9935
2021-06-02 23:38:25 +02:00
Don HO 8a898bae3f Add new API NPPM_ADDTOOLBARICON_FORDARKMODE for darkmode
Usage:
void NPPM_ADDTOOLBARICON_FORDARKMODE(UINT funcItem[X]._cmdID, toolbarIconsWithDarkMode iconHandles)

This new API NPPM_ADDTOOLBARICON_FORDARKMODE is for replacing obsolete NPPM_ADDTOOLBARICON which doesn't support the dark mode.
2 formats / 3 icons are needed:  1 * BMP + 2 * ICO
All 3 handles below should be set so the icon will be displayed correctly if toolbar icon sets are changed by users, also in dark mode.
	struct toolbarIconsWithDarkMode {
		HBITMAP	hToolbarBmp;
		HICON	hToolbarIcon;
		HICON	hToolbarIconDarkMode;
	};

Close #9928
2021-06-01 01:36:07 +02:00