Commit Graph

3756 Commits (5edbed748a7dc0145f0aa8daa9b3a8fe192fd786)

Author SHA1 Message Date
kubalav 79ab11ee8b Update Slovak localization file to v8.1.4
Close #10411
2021-08-20 12:00:08 +02:00
Thomas De Rocker 0b98ae56e9 Update dutch.xml
Close #10382
2021-08-20 11:55:37 +02:00
Don Ho 45831ac050 Update English localization file to v8.1.4
and French + Taiwanese Mandarin localization files are updated.
2021-08-20 02:55:36 +02:00
mere-human 8f123f8cca Fix file dialog append extension with RTL language
When both Windows and Notepad++ use RTL language, the Save/Open button is swapped with Cancel button.
Now take that into account when searching the button.

Fix #10397, close #10400
2021-08-18 14:05:25 +02:00
Don Ho 0733e6f241 Add Insert Date Time commands
Add Insert Date Time commands for both short & long format.

Fix #497, fix #2821, fix  #8184, fix #8302
2021-08-18 12:45:51 +02:00
mere-human 0c16f87a18 Fix Find-in-Files "Follow current doc" not working issue when absolute Default Directory set
This PR uses always current buffer's path in Find in Files dialog:
When "Follow current doc." is checked, then use current path first.
If that fails, fallback to the working directory as it was before.

Fix #8045, close #10387
2021-08-16 14:27:47 +02:00
Don Ho 302bab894f Make plugins' toolbar icons display in light/dark mode
The plugins' toolbar icons can be displayed in both light/dark mode by using their original icons.
Though using new API NPPM_ADDTOOLBARICON_FORDARKMODE to have better look & feel is recommanded.

Fix #9959, fix #10388, fix #9809
2021-08-16 02:12:03 +02:00
ozone10 5e899f2a6c Enhance dialog visual look & feel
Change dialog extyles.

Fix #10384, close #10385
2021-08-15 20:27:46 +02:00
Don HO 92b45d48c7 Include TypeScript files into installer
Include TypeScript auto-completion file & function list file into installer.
2021-08-15 12:02:45 +02:00
0xlay f50061981a Add support DarkMode, function list & auto-completion for TypeScript
Close #10381
2021-08-15 11:47:19 +02:00
0xlay 9a3152faa2 Add TypeScript language
Fix #10353, close #10361
2021-08-13 20:12:02 +02:00
Don Ho 2576bf884b Substitute "Mark" for "Style" in the menu entries
In order to avoid users' confusion, all "Mark" occurrences of menu entries are substituted for "Style", so users won't confuse with "Mark" fonction in Find dialog.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10195#issuecomment-893481499

Close #10351
2021-08-13 13:54:27 +02:00
Don Ho 686bf4fba1 Fix security flaw issue
There's a security flaw for the un-installation of Notepad++ in Windows Register, the string without quotes:
C:\Program Files\Notepad++\uninstall.exe, whereas it should be "C:\Program Files\Notepad++\uninstall.exe".
The reason is, hacker can create a file called c:\program.exe, then Windows could interpret Files\Notepad++\uninstall.exe as the argument, so the system could run c:\program.exe. Ref:
https://isc.sans.edu/diary/Help+eliminate+unquoted+path+vulnerabilities/14464

Fixed by @ozone10:

Fix #10191, fix #6165, close #10369
2021-08-13 13:49:40 +02:00
Don HO 2b0620b078 Notepad++ 8.1.3 Release 2021-08-12 19:39:53 +02:00
Ashfaaq18 f5ea4898cf Fix the regression: absence of toolbar tooltip
This regression is du to 733c7e73de

Fix #10355, close #10359
2021-08-09 23:58:01 +02:00
Don Ho 4cc3d9fd1a Add Markdown UDL of dark mode in release packages
Add Markdown UDL of dark mode and the ability to apply it:
After dark mode being swiched in, all files with extension .md will be opened by applying Markdown UDL of dark mode.
When light mode is switched back, the default Markdown UDL (of light mode) will be applied to the new opened .md file.
Please note that all .md files opened before switching to new mode, will remain in the previous mode. User has to close and reopen these files to have the right Markdown UDL applied.

Fix #10196, close #10347
2021-08-08 03:22:15 +02:00
Don Ho a36a12257a Add more quotes
Close #10342
2021-08-08 03:19:40 +02:00
Ashfaaq18 5c2c317352 Fix Function list current empty lost issue while Sort/Unsort/Save/Reload
Retains tree state of function tree during Sort/Unsort and Save/Reload actions.

Fix #8819, fix #10280, fix #10294, close #10322
2021-08-08 03:08:51 +02:00
ozone10 13623669a4 Make title, button, progress bar dark again
Fix #10326, close #10327
2021-08-08 02:34:53 +02:00
Ashfaaq18 733c7e73de Fix 2 RTL issues: wrong path in tooltip and file drag & drop Bug
Fix 2 RTL issues:
1. wrong path in tooltip of tab (#8520).
2. the file drag and drop bug (#8730) - now user can drag and drop to the exact view.

Fix #8520, fix #8730, close #10348
2021-08-08 02:21:45 +02:00
Don Ho 14a104ad46 Fix shortcut conflict detection error in shortcut mapper
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5374#issuecomment-891879420

Fix #5374
2021-08-03 20:56:29 +02:00
Don Ho a7ede53c26 Add and remove some quotes 2021-08-03 20:24:06 +02:00
schnurlos 32965d5549 Update german.xml to v8.1.2
Close #10319
2021-08-03 19:44:57 +02:00
Don Ho 8a77b07d96 Fixed detection of shorcut key conflicts when filtering
Currently, when the shortcut mapper is filtering shortcuts, it doesn't display key conflicts properly. This is due to the indexes of the filtered shortcuts being different (since there are less) than the original list of shortcuts.

Author @jmbockhorst
(the original branch has been deleted)

Fix #5374, close #5453
2021-08-03 13:21:23 +02:00
mere-human 90485aaa21 Use CRLF line ending in Copy command from Windows dialog
Also, move endsWith() function to Common.h and reuse it in WindowsDlg.

Fix #10311, close #10314
2021-08-03 03:08:49 +02:00
Tmp341 ef1ecaa936 Update Turkish localization
* According to 27524e1, 80c285e, a0472fd, 599f185, 53f1e6b, 8e38b9d, 5b9e3b6 and b8f23a1 commits.

Close #10315
2021-08-03 00:51:43 +02:00
xomx 2dc31d0d2f Update czech.xml to v8.1.3 (2nd attempt)
Close #10316
2021-08-03 00:44:46 +02:00
rddim 1479b130f6 Update Bulgarian localization
Close #10244
2021-08-02 18:05:26 +02:00
Luxy a91d0d7b8d Update brazilian_portuguese.xml
Close #10173
2021-08-02 17:50:40 +02:00
ArkadiuszMichalski db62ce2e33 Update polish.xml to 8.1.3
Update polish.xml to 8.1.3 (according to the latest commit).

Close #10308
2021-08-02 15:59:38 +02:00
Sapziller 61bcbbd900 update korean.xml 8.1.3
Close #10309
2021-08-02 15:49:44 +02:00
Don Ho 242530c1fc Make margin width display correctly under high DPI 2021-08-02 01:43:16 +02:00
mere-human 121f19d8f9 Fix crash when several instances of the file dialog are shown
Pass a pointer to FileDialogEventHandler instance via GWLP_USERDATA
instead of using static variable. This way each window can have its
own pointer.

Fix #10290, close #10303
2021-08-01 23:58:03 +02:00
Thomas De Rocker 96e985dea5 Update dutch.xml
Close #10174
2021-08-01 17:08:39 +02:00
Don HO 1c1a0c487a Update about dialog icons 2021-08-01 16:30:03 +02:00
ozone10 318a566ae7 Apply explorer style on treeview
Enable hottracking for explorer style.
Allow dynamic change based on treeview background.

Fix #10061, close #10304
2021-08-01 16:05:26 +02:00
Hugo Carvalho 8417d3fb40 Update portuguese.xml
Close #10306
2021-08-01 14:19:33 +02:00
kubalav ab02e3f9de Update Slovak translation
Close #10305
2021-08-01 14:16:11 +02:00
yasmise 1e26722249 update japanese.xml
Follow this commit:
*  Make the translation more accurate (53f1e6bff8)

Close #10182
2021-08-01 02:10:08 +02:00
Edditoria 3eb71d87b1 Update localization: Hong Kong Cantonese
As at commit 7c82c52 of this repo.

Close #10292
2021-07-31 23:16:03 +02:00
~GOLEM~ 4eef48b32b Update russian.xml
Close #10268
2021-07-31 17:40:38 +02:00
Patriccollu 17290fadbc Update Corsican translation for Notepad++ 8.1.3
Close #10293
2021-07-31 17:37:17 +02:00
Don Ho b8f23a107b Update French & Taiwanese Mandarin localization 2021-07-31 17:32:12 +02:00
Don Ho 87bda092cb Fix a compiling error in MinGW 2021-07-31 14:28:08 +02:00
Don Ho 53576f5b18 Change logo in About dialog and make it dark-modable 2021-07-30 23:53:53 +02:00
Don Ho 19f40fdeae Fix 2 panels' toolbar icons display issue under high DPI
Improve Function list & Folder as Workspace toolbar icons display under high DPI.
2021-07-30 15:59:27 +02:00
Don Ho 2bb40b1ab5 Fix Plugin Admin display issue under high DPI 2021-07-29 20:01:00 +02:00
Don Ho 1dad7c7e7f Increase macro, user command and plugin command number capacity
Macros:      200 -> 499
User cmds:   200 -> 499
Plugin cmds: 500 -> 999

Fix  #10263
2021-07-29 18:02:29 +02:00
mere-human 52c73f92dc Remove "Unicode" from build configuration names
Rename "Unicode Debug" => "Debug", "Unicode Release" => "Release"
since there is no non-Unicode version.
Also, fix the name in other configs for Git, AppVeyor and in the docs.

Fix #10114, close #10278
2021-07-29 15:14:55 +02:00
ozone10 fcea83ba98 Apply dark mode on plugins admin
Fix #10287, close #10288
2021-07-29 03:39:08 +02:00
ozone10 bf6cb36d48 Apply dark mode on document switcher
Fix #10285, close #10286
2021-07-29 03:22:24 +02:00
Don Ho 7c9f4204ea Refactoring: Improve the code organization for color picker displaying 2021-07-29 03:13:22 +02:00
Don Ho 6894e96ad7 Fix UDL dialog color picker display issue under high DPI 2021-07-29 01:48:33 +02:00
ozone10 1b6cd7c3ff Apply dark mode on UDL, styler dlg
Fix #10283, close  #10284
2021-07-28 23:26:28 +02:00
ozone10 1ac1b11831 Apply dark mode on shortcut dialog
Fix #10275, close #10276
2021-07-28 18:01:04 +02:00
ozone10 14da158cad Apply dark mode on run a macro multiple times dlg
Fix #10273, close #10274
2021-07-28 17:46:17 +02:00
ozone10 31c72b7388 Apply dark mode on color popup
Fix use of dark mode edge color in light mode for color picker button.
Properly redraw disabled color picker button.

Fix #10269, close #10270
2021-07-28 17:29:30 +02:00
ozone10 1214319839 Don't reset style & icons, when changing dark tone
Improve title bar dynamic redraw when changing mode.

Fix #10049, fix #10196, close #10272
2021-07-28 17:03:47 +02:00
Don Ho 5edc7500e9 Update some dark/light icons for panels
1. Add panels' toolbar icons in both dark/light mode for Folder as Workspace panel and function list panel.
2. Add panels' dark/light mode (Fluent UI style) icons for the tab interface.
3. Update doclist icons.
4. Remove not used icon.

Note that these icons cannot be changed dynamically yet while switching between light mode & dark mode.

Fix #10066
2021-07-28 03:17:56 +02:00
Don Ho a8a802df2c Fix doc list file ext. column display under high DPI 2021-07-27 17:35:57 +02:00
Don Ho eebc9d146f Tune up the logo size 2021-07-27 02:27:12 +02:00
Don Ho 5721b10da5 Improve About dialog display under high DPI mode 2021-07-27 02:10:57 +02:00
ozone10 baae30102c Apply dark mode on preferences dialog
1. Apply dark mode on preferences, about, debug and save all dialogs.
2. Make link text aware of dark mode.

Fix #10264, close #10265
2021-07-27 01:49:10 +02:00
Don Ho 934c988874 Make Shortcut mapper display correctly under high DPI 2021-07-26 23:55:35 +02:00
Don Ho 7c82c523b6 Add "Switch to Document List" command for shortcut
Fix #9015
2021-07-26 19:07:38 +02:00
ozone10 7c4a428e47 Make dark colors consistent
1. Make dark colors consistent for panel toolbars.
2. Make dark colors consistent style configurator edit controls.
3. Make dark colors consistent for docking elements.

* BackgroundColor(), BackgroundBrush() – should be used for items which have some interactions, or need to be different from Darker variant.
* DarkerBackgroundColor(), DarkerBackgroundBrush() – should be used for static/top backgrounds.
* SofterBackgroundColor(), SofterBackgroundBrush() – should be used for items , which have interactions, or have focus.

Fix #10242, close #10243
2021-07-26 15:00:49 +02:00
ozone10 b0d4e776c6 Apply dark mode on hash dialogs
Also allow typing newline in multiple lines for generating hash.

Fix #10255, close #10256
2021-07-26 14:17:10 +02:00
ozone10 a9002c81e5 Apply dark mode on value dialogs
1. Apply dark mode on value dialogs (dialogs created in preference).
2. Change value dialogs border style.
3. Apply dark mode on close button for other views (fullscreen, post-itand distraction free).

Fix #10253, fix #10210, close #10254
2021-07-26 00:33:42 +02:00
ozone10 b12c8ea541 Apply dark mode on run dialog
Fix #10251, close #10252
2021-07-26 00:07:10 +02:00
ozone10 8e84f5fbcf Apply dark mode on rename tab dialog
Fix #10249, close #10250
2021-07-25 23:53:48 +02:00
ozone10 af99d4c97e Apply dark mode on find char in range dialog
Fix #10247, close #10248
2021-07-25 23:49:27 +02:00
ozone10 f412a2d6f7 Apply dark mode on go to line dialog
Fix #10245, close #10246
2021-07-25 23:36:08 +02:00
mere-human a0c15274f5 Fix file name edit box not functional on Windows Vista
Avoid the same window procedure being used for several different edit boxes.
The problem was found on Windows Vista but it can happen in other environment too.

Fix #10238, close #10241
2021-07-25 22:44:54 +02:00
ozone10 6d06000600 Apply dark mode on column editor
Fix #10236, close #10237
2021-07-25 21:25:27 +02:00
Don Ho 8a6dafb890 Fix Find in file progress bar display problem under High DPI
Fix Find in file progress bar display problem under High DPI, and simplify the window display position algorithm.

Close #10240
2021-07-25 19:06:04 +02:00
ozone10 89d835a56f Apply dark mode on all find dialogs
1. Apply dark mode on find in finder dialog.
2. Apply dark mode on progress window (searching in files).
3. Make color more consistent for incremental search.
4. Use different border style for incremental search.
5. Set border for finder for docking panel consistency.

Fix #10233, close #10234
2021-07-24 23:42:19 +02:00
Ashfaaq18 5b9e3b6406 Changed english.xml's "Document List " entry id from 44081 to 44070
Close #10235
2021-07-24 18:20:34 +02:00
Ashfaaq18 46a264e2db Fix Functions list scrolling to the top on file save
Retain Functions list scrollbar position on reload.

Fix #9659, close #10183
2021-07-24 15:55:15 +02:00
Vitaliy Grabchuk 3482673fd8 Add filter capacity in Shortcut mapper by shortcut key combination
This allows to filter shortcuts in Shortcut mapper not only by name but also by key combination text.

Fix #5616, fix #9316, close #10192
2021-07-24 14:14:31 +02:00
Don Ho 50dfdb2a8d Add link text color in customized dark colors of Preferences dialog 2021-07-24 04:18:43 +02:00
ozone10 a3ba150e89 Apply dark mode on Windows dialog
Use background and text colors from style theme in listview.

Fix #10230, close #10231
2021-07-24 01:25:58 +02:00
ozone10 e627de438b Apply dark mode on Style Configurator
Create link text color to be used too in about, debug and preference dialog.

Fix #10226, close #10227
2021-07-24 00:48:03 +02:00
ozone10 3e69de4879 Improve docking tab visual
1. Improve high DPI look.
2. Make dark mode color consistent.
3. Allow icons transparency.
2021-07-23 19:51:53 +02:00
Don HO 0f15c207d5 Update localization files (change tag) 2021-07-23 17:10:35 +02:00
Don HO 1c548901ff Update translation files 2021-07-23 16:48:06 +02:00
Ashfaaq18 7b1e6546a1 Make Document List Panel togglable and shortcutable via View menu
1. Toggle toolbar item and view menu item for Document List Panel.
2. Added standard, filledFluent, darkmode->toolbar->(fluent and filledfluent) icons for the Document List Panel toggle.
3. Working shortcut for the Document List Panel under shortcut mapper.
4. Removed show document panel from the preference menu, kept the extension option.
5. Rename "Doc Switcher" to "Document list".

Fix #3526, fix #9015, close #10214
2021-07-23 16:14:22 +02:00
ozone10 a4cfd2a126 Dark find and replace dialog enhancement and fixes
1. Make color more consistent.
2. Fix bug with trackbar (Transparency option) not changing background, when changing background color.
3. Fix visual glitch.
4. Enhancement to combobox, including DPI fixes.
5. Make listbox of combobox use dark scrollbar.

Fix #10027, fix #10221, close #10220
2021-07-22 04:01:10 +02:00
ozone10 8bf11be0b5 Restore edit zone border in dark mode
Restore functionality for option No edge in preference when using dark mode.

Fix #10205, close #10211
2021-07-21 23:53:01 +02:00
Don Ho 1182976cc3 Fix narrow splitter under a high DPI environment problem
Also add flage [-udl="My UDL Name"] into Command line argument help dialog box.
2021-07-21 20:09:13 +02:00
ozone10 264e1924b0 Restore Splitter appearance in dark mode
Allow dynamic color change for arrows.

Fix #10069, close  #10199
2021-07-21 04:32:08 +02:00
mere-human 8e38b9daba Add copy file names capacity from Windows dialog
Fix #10123, close #10194
2021-07-21 03:33:48 +02:00
ozone10 81b21aae2a Enhance combobox & edit field in dark mode
1. Allow function list search to use dark mode error background.
2. Make combobox more dark and allow to use custom colors (borders, arrow head and background).
3. Use dark listbox in combobox.

Fix #10178, close  #10179
2021-07-20 15:44:49 +02:00
Don Ho aa69711d4c Add the capacity to switch among Find/Replace/FiF/Mark via their shortcuts
Add Find/Replace/Find in fles/Mark shortcuts detection capacity in Find Replace dialog.

Fix #10019, close #10177
2021-07-20 01:28:15 +02:00
Don HO fdb2951e00 Notepad++ 8.1.2 Release 2021-07-19 03:51:50 +02:00
Don Ho 53f1e6bff8 Make the translation more accurate 2021-07-16 00:11:35 +02:00
ozone10 33fa3b6198 Edge Enhancement
Make changing edge color dynamic.
Apply color on docking panels caption, color button.
Add status bar separators.

Fix #10166, close #10167
2021-07-15 23:55:41 +02:00
Don Ho 93d91c3ee2 Fix a typo 2021-07-15 23:14:18 +02:00
conky77 a279d83c51 Update italian.xml
Fixed missing translation "Enable Multi Editing" (Issue #10085 )

Fix #10085, close #10093
2021-07-15 19:58:47 +02:00
conky77 6127825b80 Fix "Enable Multi Editing" in venetian.xml
Fix incorrect translation "Enable Multi Editing" in venetian.xml

Close #10094
2021-07-15 19:56:43 +02:00
Edditoria 2c95c5b2de Update localization Hong Kong Cantonese
As at commit a0472fd of this repo.

Close #10125
2021-07-15 19:54:25 +02:00
xomx 52e6911bb3 Update czech.xml to v8.1.2
Close #10164
2021-07-15 19:20:13 +02:00
schnurlos 8d1d8cfcb9 Update german.xml
Following 27524e1d4d

Close #10110
2021-07-15 14:44:03 +02:00
kubalav 73d945bfe8 Update Slovak translation
Close #10112
2021-07-15 14:22:44 +02:00
yasmise 62031f8ab4 update japanese.xml
Following these commits:
* Improve link to user manual on questionmark menu (27524e1d4d)
* Add a Save all confirm dialog (80c285ee2d)
* Use current file directory in File Rename dialog (a0472fd7f2)

Close #10119
2021-07-15 14:18:58 +02:00
Luxy badc59c597 Update Brazilian Portuguese translation
Close #10104
2021-07-15 14:14:26 +02:00
rddim f215b85cc4 Update Bulgarian localization
Close #10140
2021-07-15 03:18:47 +02:00
~GOLEM~ 7be30516d9 Update russian.xml v8.1.2
Close #10111
2021-07-15 03:16:32 +02:00
Thomas Smith f2d47ef5f4 Update Hebrew localizaton
Fixing the incorrect Hebrew translation of line 133 as per https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10120

Fix #10120, close #10126
2021-07-15 03:02:37 +02:00
Hugo Carvalho 6d34d658a9 Update portuguese.xml
Close  #10144
2021-07-14 23:22:14 +02:00
Thomas De Rocker 9048c85863 Update dutch.xml
Close #10105
2021-07-14 23:14:36 +02:00
Sashank999 e87e94a6ce Add latest ES/JS keywords for auto-completion
Fix  #9858, close #9859
2021-07-14 21:35:03 +02:00
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
Don Ho eac8c4094f Override unit-tests needed files while copying them for local unit-tests script 2021-07-07 15:20:16 +02:00
Don Ho 4642be5492 Add local unit-test launcher 2021-07-07 04:11:25 +02:00
Don Ho 14a0a43b16 Add global regex unitTest via UDL way
Use User Defined Language to have function list on Unit-tests.
It could reduce regression happening while the code of boost regex or the related code is changed.

And also make build system be aware of unit-test result.

Close #10108
2021-07-07 03:37:43 +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
Sean Lin 2034150422 Update taiwaneseMandarin.xml
1. Synchronize the English version
2. Correct translation
3. Remove redundant translations

Close #10101
2021-07-04 19:06:47 +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
yasmise 5398df2275 Update japanese.xml to v8.1
Close #10028

Follow-up to this commit:
* Close all tabs in stack with single action (f9d6fb9e31)
2021-06-28 03:03:55 +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
Don Ho 7d65bb9503 Use toolkits v141 still for a while 2021-06-25 15:56:08 +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
mere-human 263910a9a9 Fix compiler warnings when building Notepad++ solution
Remove unsupported option /arch:IA32 from x64 & ARM64 Release for Notepad++ project.
Define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING for
SciLexer project to ignore a specific warning in third-party code.
Now the solution builds without warnings in all configurations.

Fix #10033, close #10034
2021-06-19 18:52:43 +02:00
Don Ho fd5bfe4252 Update slovenian.xml 2021-06-17 14:31:51 +02:00
Don Ho 1db798fb11 Update finnish.xml 2021-06-17 14:25:20 +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
Thomas De Rocker 94c6d24081 Update dutch.xml
Close #9938
2021-06-15 17:05:14 +02:00
Hugo Carvalho d113531345 Update portuguese.xml
Close #9940
2021-06-15 17:03:03 +02:00
György Bata 47d780b861 Hungarian translation update for 8.0
Close #9949
2021-06-15 16:59:17 +02:00
Sapziller b09190c76e Update Korean localization file
1. add missing items since 7.9.2
2. remove blank at end of line

Close #10003
2021-06-15 16:54:07 +02:00
rddim 52dbd52251 Update Bulgarian localization
Close #9944
2021-06-15 16:51:33 +02:00
xomx ac7a7af0cf Update czech.xml to v8.0.0
mainly keyboard access keys corrections

Close #9943
2021-06-15 16:47:27 +02:00
Tmp341 4bf1fd1fb2 Update Turkish localization
* According to e623e76, f9d6fb9 commits.

Close #9947
2021-06-15 15:42:45 +02:00
conky77 c5ba7320cc Update venetian.xml to 8.00
Close #9952
2021-06-15 15:38:37 +02:00
Patriccollu fee55b06d3 Update Corsican translation for Notepad++ 8.0.0
Close #10005
2021-06-15 15:28:52 +02:00
conky77 b8398b18e7 Update italian.xml to 8.0.0
Close #9953
2021-06-15 15:25:44 +02:00
schnurlos bfd9c2d325 Update german.xml
Following f9d6fb9e31

Close #9955
2021-06-15 15:23:52 +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
Thomas De Rocker 511893680b Update dutch.xml
Close #9877
2021-06-03 01:38:17 +02:00
rddim e211cbaa28 Update Bulgarian localization
Close #9878
2021-06-03 01:35:34 +02:00
Patriccollu 2ce57b88ce Update Corsican translation
Close #9893
2021-06-03 01:32:50 +02:00
Sergio Flor 3ef5f11aa2 Updating spanish.xml
Resolves issue #4401 "Spanish translation: Search dialog items do not fit (translated texts too long)". Now the text fits the search dialog

Before:
<Item id="1703" name="&amp;. se ajusta a línea nueva"/>

Now:
<Item id="1703" name="&amp;. para nueva línea"/>

Fix #4401, close #9898
2021-06-03 01:23:46 +02:00
spkprs 17b7a0eaf4 Update greek.xml
Updated (partially till 80%) whole file from eng.xml.

Close #9899
2021-06-03 01:20:24 +02:00
~GOLEM~ e524a64b3a Update russian.xml
Close #9917
2021-06-03 01:13:12 +02:00
Edditoria 0221639cc9 Update Hong Kong Cantonese: Update access keys on menu
As at commit f7a04ca of this repo.

View of shortcuts:

Original: Display all shortcuts in form of `Example(X)`
Now: Display the shortcuts in English word, if any.
i.e. `E&amp;xample`

Originally it is to follow the pattern of Taiwan translation.
However, the previous commit had added a lot of shortcuts.
It is better to adapt new strategy for the UI.

Close #9920
2021-06-03 01:09:14 +02:00
yasmise 2c1b01f7c6 update japanese.xml
Close #9927

Update translation according this commits:
* Add access keys to non-keyboard-accessible menu items (32dce9b54e)
2021-06-03 01:06:26 +02:00
kubalav 60cd6c463f Update Slovak translation
Close #9934
2021-06-03 00:44:24 +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
Don HO 219dfda6b3 Remove HexEdit via installer due to its crash
Ref: https://github.com/chcg/NPP_HexEdit/issues/51
2021-05-30 11:51:25 +02:00
Adam D. Walling ceca91557b Fix disabled checkboxes in dark mode
Fix the following issue:
https://community.notepad-plus-plus.org/topic/21228/notepad-v8-release-candidate-2?_=1622335986466

Close #9919
2021-05-30 07:52:48 +02:00
Don HO 46b3e3c7b2 Fix wrong plugin toolbar icon display if the ICO format is absent
An empty icon will be displayed after this fix.
2021-05-29 16:56:02 +02:00
Don HO f7a04caca7 Update uzbek.xml 2021-05-29 13:26:36 +02:00
Don HO 5758b99b3e Fix crash on Dark mode under Windows 8
Fix #9911
2021-05-27 19:32:28 +02:00
Don HO 51207a4fe5 Refactoring some code of Dark mode 2021-05-27 03:56:22 +02:00
Don HO 9a2dcaa5f8 Fix plugin icons added on toolbar not taking effect for Fluent UI icon sets
NPPM_ADDTOOLBARICON take structure
		struct toolbarIcons {
			HBITMAP	hToolbarBmp;
			HICON	hToolbarIcon;
		};
as argument, both hToolbarBmp & hToolbarIcon should not be null to take effect.
2021-05-22 01:49:50 +02:00
Don HO 156bde258f Fix the tabbar incoherent alternate icons settings while switching in dark mode 2021-05-20 19:08:32 +02:00
Don HO 585608b456 Update english_customizable.xml 2021-05-18 22:09:11 +02:00
debiedowner 32dce9b54e Add access keys to non-keyboard-accessible menu items
Fix #9875, close #9876
2021-05-18 20:41:18 +02:00
Don HO 6d25b8b908 Add DarkModeDefault.xml into installation package 2021-05-18 19:09:04 +02:00
Don HO 19c3035d5a Fix Dark mode default theme not being applied bug 2021-05-18 17:06:42 +02:00
Don HO 6c19e88242 Fix "Match Whole Word" option being enabled in RegEx Search
Fix #9766
2021-05-16 03:23:10 +02:00
Don HO 0faa139234 Revert "Fix for 'Match Whole Word' option being enabled in Regular Expression Search"
This reverts commit f249fc5902 due to a regression.
To reproduce the regression:
1. Ctrl+f and set to "Regular expression" as Search mode.
2. Press Shift+Ctrl+f to bring up "Find in Files".
3. Note that "Match whole word only" checkbox is missing, and cannot be made to appear.

Ref: #9766 & #9792
2021-05-16 02:03:30 +02:00
rddim da352ef5ad Fix duplicated words in Auto-Completion pop-up window
Fix #9711, close #9867
2021-05-15 23:32:29 +02:00
Scott Sumner e623e76d0b Rename sort randomly menu item, move it and reverse lines out of sorting section
Close #9868
2021-05-15 22:56:38 +02:00
Don HO 71fabb1567 Remove the access of Live Support on Gitter 2021-05-15 13:30:28 +02:00
ccuser44 93c1edd934 Update finnish.xml
Example was not translated.
In finnish it is esimerkki and in this context Esimerkiksi

Close #9787
2021-05-15 01:23:38 +02:00
conky77 a26b1f443d Update Italian.xml
Close #9669
2021-05-15 01:18:05 +02:00
Don HO e248e29f7f Update lacalization files (Taiwanese Madarin & French) 2021-05-14 12:31:25 +02:00
kubalav b2f3d573fb Update Slovak translation
Close #9695
2021-05-13 14:23:20 +02:00
yasmise 37863f47a0 update japanese.xml to v7.9.6
Follow-up to this commit:
* Catch regex search exceptions and show exception message (926e6e97d8)
2021-05-13 14:12:49 +02:00
schnurlos f42748d4b3 Update german.xml
Following 926e6e97d8, 6834d796ab & 874f0d0140

Close #9708
2021-05-13 14:02:21 +02:00
Iñigo Zendegi 7196c1ab7a Update basque.xml (full translation)
Close #9826
2021-05-13 13:17:05 +02:00
xomx d173b24f6d Update czech translation
Close #9749
2021-05-13 13:11:52 +02:00
Scott Sumner a1abe867b9 Add Ctrl+C and Ctrl+A standard keyboard accelerators to Search results context menu
Fix #9824, close #9836
2021-05-13 10:10:54 +02:00
rddim ddc551e0d2 Update Bulgarian localization
Close #9697
2021-05-13 09:21:12 +02:00
miwob 70d7b8504c Update C keyword list
1. Add true/false as per c99 stdbool.h
2. Alphabetize list

Close #9453
2021-05-13 03:32:09 +02:00
ArkadiuszMichalski 50d204f2a8 Update polish.xml
Close #9856
2021-05-13 03:14:25 +02:00
Hugo Carvalho d75068f62e Update Portuguese translation
Close #9737
2021-05-13 01:54:25 +02:00
Edditoria bcb6911527 Update localization: Hong Kong Cantonese...
As at commit 9c66ff9 of this repo.

Close #9773
2021-05-13 01:49:28 +02:00
Tmp341 58b33ecbd7 Update Turkish
* According to 2e7c5e3, 926e6e9, 6834d79, 874f0d0, 4369718, 1ae39c2, cbf3d2c, 1a9307b, e3dbeda, a0177e8, 0dbdef3 and b657f58 commits.

Close #9843
2021-05-13 00:15:26 +02:00
Patriccollu 6162e1ed5c Update Corsican translation
Close #9714
2021-05-12 23:45:21 +02:00
~GOLEM~ 8df5dc41c5 Update russian.xml
Close #9718
2021-05-12 21:10:35 +02:00
Thomas De Rocker 5b83f21df2 Update dutch.xml
Close #9692
2021-05-12 21:04:54 +02:00
debiedowner ddd4448192 Add ability to reverse line order
Fix #9837, close #9839
2021-05-12 03:06:44 +02:00
Don HO 70515c878b Update localization files 2021-05-12 02:16:30 +02:00
Cyberslas 84402e755f Fix Python Function List not showing functions
Functions defined at the top of the file or below a class with nothing in between would not show in the Function List.
This changes the function regex to fix this. A small unit test that the old regex won't pass but the new will included.

Close #9844
2021-05-11 23:48:22 +02:00
l3afblow3r 582a424d55 Add "curlopt_ssl_verifystatus" keyword for PHP
Close #9807
2021-05-11 23:28:26 +02:00
Don HO 69a5438671 Simplify dark mode user interface 2021-05-11 19:21:41 +02:00
Don HO a0f2586102 Fix x64 build error 2021-05-11 04:27:13 +02:00
Don HO c230ccf1bd Fix toolbar icons switching in dark mode makes incoherence in Preferences dialog
ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/9742#issuecomment-836757562
2021-05-11 03:44:48 +02:00
Don HO 2d4640ce42 Update croatian.xml 2021-05-10 15:44:34 +02:00
Don HO bae09252c7 Fix build error 2021-05-10 12:56:52 +02:00
Adam D. Walling 1089e239ba Add the capacity to customize the color of Notepad++ (not only dark)
1. Customizable colors easily handled now by tweaking a few custom drawing implementations.
2. make dark mode less intense by default.

Close #9848
2021-05-10 12:14:03 +02:00
Don HO 4aa459ef47 Switch to default dark theme as dark mode is enabled
1. Add default dark theme.
2. Switch to default dark theme when dark mode is enabled considering both situations:
   Style Configurator is or ont launched.

Close #9847
2021-05-10 09:56:35 +02:00
Don HO db27172ca8 Add Fluent UI icons for Dark mode
Add Fluent UI icons for Dark mode in the toolbar & the tabbar

Fix #9742, close #9831
2021-05-09 17:38:54 +02:00
Scott Sumner 666f228027 Fix function List button tool tips mixed up issue
Swap errant tooltip text for function list sort and reload buttons.

Fix #9804, close #9829
2021-05-05 23:40:53 +02:00
Scott Sumner b657f58580 Add "Copy Pathnames" command to Search results context menu
Fix #9821, close #9822
2021-05-05 23:20:13 +02:00
Scott Sumner 4b7e1ac794 Improve performance of Search results Open all
Fix #9819, close #9820
2021-05-05 22:54:04 +02:00
Don HO dc34284146 Make toolbar compatible with current plugins 2021-05-05 16:47:06 +02:00
Don HO 7d25394244 Add new toolbar icons (Fluent UI)
1. Remove obsolete icon set.
2. Add both Fluent UI & Filled Fluent UI icon sets.
3. Refactoring toolbar code

Fix #9742, close #9808
2021-05-05 14:39:27 +02:00
Don HO cd1a468b1c Make select text foreground color setting optional
Make selected text with syntax highlighting as default behaviour.
To override the default behaviour, user can add an empty xml file named "enableSelectFgColor.xml" (beside of "config.xml") to set the select foreground color in Style Configurator.
2021-05-01 20:02:09 +02:00
Scott Sumner 44b2bef69b Allow selected text foreground color to be changed
Fix #3397, fix #1314, close #9817
2021-05-01 04:28:27 +02:00
Scott Sumner 8339de66d2 Remove obsolete logic with wholeword and MarkAll
Fix #9803, close #9810
2021-04-29 18:32:06 +02:00
Adam D. Walling 85aaef2fba Dark Mode independent of OS setting
Close #9802
2021-04-27 01:38:24 +02:00
Adam D. Walling bd6dbd4bb6 Add dark mode in find/replace dialog
Dark Mode find/replace dialog box! Also supporting buffered paint animation for darkmode checkbox/radiobutton control states

Close #9800
2021-04-26 17:57:22 +02:00
Scott Sumner 0dbdef320f Add MarkAll Preference settings for case and word
Fix #9751 #5148, close #9796
2021-04-26 12:05:35 +02:00
Scott Sumner a0177e8d05 Add pref setting to allow Replace to stop after replacement
Fix #4437, close #9801
2021-04-26 10:26:47 +02:00
Roshni-P f249fc5902 Fix for 'Match Whole Word' option being enabled in Regular Expression Search
Ensured 'Match Whole Word' option is disabled in Regular Expression Search.

Fix #9766, close #9792
2021-04-26 04:29:08 +02:00