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
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
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
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
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
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
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
debiedowner
ddd4448192
Add ability to reverse line order
...
Fix #9837 , close #9839
2021-05-12 03:06:44 +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
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
Udo Hoffmann
9734d81f32
Fix a special character in UTF16 file crash issue (regression)
...
Fix UTF iterators end too early.
This regression (https://github.com/notepad-plus-plus/notepad-plus-plus/pull/9599#issuecomment-825654605 ) is introduced via 38bf76e843
Close #9797
2021-04-26 03:16:48 +02:00
Christian Grasser
6750be3432
Fix for darkmode build with mingw
...
Close #9789
2021-04-24 06:23:33 +02:00
Adam D. Walling
5a3bf49c86
Add Dark Mode for not attracting bugs
...
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
2021-04-23 16:22:57 +02:00
mere-human
acdc2517c6
Fix regression: Handle "Default Directory" setting correctly in Open/Save File Dialog
...
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
2021-04-22 19:18:43 +02:00
Don HO
d0afc51621
Add ARM64 support for auto-update feature
2021-04-22 05:20:54 +02:00
Don HO
a459523659
Fix Notepad++ ARM64 version refusing to load plugins in ARM64 version
2021-04-21 23:24:05 +02:00
Don HO
4207e2516d
Add ARM64 support to NppShell
2021-04-21 17:34:38 +02:00
Christian Grasser
ab58c8ee3e
One button to compile them all
...
1. Build Notepad++ with Scintilla static lib (libscintilla.lib) and Boost (v1.76) RegExpr.
2. ARM64 build is available.
Fix #5158 , close #9594
2021-04-17 05:55:10 +02:00
Scott Sumner
9c66ff9c71
Fix Copy command in Search result is available as there's no selection
...
Disable Search Results Copy (verbatim) command if no selected text.
Fix #9757 , close #9764
2021-04-16 02:52:52 +02:00
Don HO
15b7a26c87
Remove unecessary const type qualifier
2021-04-16 02:37:05 +02:00
mere-human
e3dbeda4c9
Add "Append extension" checkbox to Save As dialog
...
Add "Append extension" checkbox to Save As dialog for replacing option "Save dialog file extension filter to *.*" in Preferences dialog.
Fix #9515 , close #9732
2021-04-16 01:27:32 +02:00
Don HO
af56713079
Change name of programming language from Nimrod to Nim
...
Fix #9768
2021-04-15 03:40:30 +02:00
Don HO
94dffc6da8
Fix inacurate ratio in Distraction Free mode
2021-04-14 04:38:07 +02:00
Don HO
432ad06108
Enhance Distraction Free mode: make dockable panels free
2021-04-14 03:39:25 +02:00
Don HO
90016a8dc0
Enhance Distraction Free mode by hidding another view
2021-04-13 03:38:40 +02:00
Don HO
55de911be5
Fix the 1st document title "new 1" is not translated
...
1ae39c2dda (commitcomment-49174136)
2021-04-12 17:32:19 +02:00
Don HO
1a9307b02d
Add padding options in the edit zonze
...
Fix #2323
2021-04-11 19:59:30 +02:00
Don HO
cbf3d2c9cb
Add new feature "Distraction Free Mode"
2021-04-09 19:55:55 +02:00
Don HO
92038c1653
Make struct VisibleGUIConf conform to coding standard
2021-04-07 18:02:30 +02:00
Don HO
1ae39c2dda
Make new tab name translatable
...
Fix #2837
2021-04-06 18:54:38 +02:00
Don HO
a349764b4a
Remove unnecessary const
2021-04-06 17:52:56 +02:00
Scott Sumner
f6cb772e61
Reword Run menu entry name
...
Close #9728
2021-04-04 18:17:35 +02:00
Don HO
5bc3ccf469
Fix dragged out UDL file is not applied to UDL in the new instance
...
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
2021-03-31 03:55:09 +02:00
jofon
ca07ac69c7
Enhance Folder as Workspace performance while adding/removing files in bulk
...
Added batch processing of added and removed files in Folder as Workspace.
Fix #9203,close #9651
2021-03-30 14:08:59 +02:00
Don HO
70762b1a03
Fix Auto-Complete ignore case issue
...
Fix #3997 , fix #4833 , fix #4998
2021-03-30 03:46:28 +02:00
Scott Sumner
4369718925
Add ability to style only current instance of text
...
Fix #9263 , close #9684
2021-03-29 23:35:38 +02:00
Scott Sumner
09d6241686
Fix sort with column key selection that appears after tab characters
...
Fix #9682 , close #9683
2021-03-29 03:43:00 +02:00
jofon
c29240d78a
Fix "Reload Workspace" menu command not working issue
...
Now forces the workspace to be opened when the user accepts that reloading will discard all modifications
Fix #9350 , close #9696
2021-03-28 21:04:29 +02:00
Scott Sumner
cae2f77daf
Add command line parameter for adding specified string to app title bar
...
Fix #9539 , #9704
2021-03-28 04:18:23 +02:00
jofon
bdae2aef92
Fix view file in Edge failure issue if name contains spaces
...
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
2021-03-27 19:34:55 +01:00
Scott Sumner
874f0d0140
Add ability to avoid accumulating multiple search results
...
Fix #8777 , close #9653
2021-03-27 18:19:54 +01:00
Udo Hoffmann
6834d796ab
Replaced UCS-2 by UTF-16, removed unused UniConversion.*
2021-03-27 03:00:14 +01:00
Udo Hoffmann
38bf76e843
Fix UTF-16 decoding/encoding for code points above U+FFFF
...
Fix #9597 , fix #3747 , fix #5754 , close #9599
2021-03-27 02:50:51 +01:00
mere-human
dc106a4c95
Add Cloud Config and Command Line Arguments to Debug Info
...
Fix #9598 , close #9607
2021-03-26 15:33:01 +01:00
Scott Sumner
f308539abe
SaveAs moves original path to recent files history
...
Fix #9673 , close #9678
2021-03-26 14:00:01 +01:00
Scott Sumner
6bfe9d289c
Widen Default Language control in Preferences for New Document
...
Close #9647
2021-03-26 01:25:06 +01:00
Udo Hoffmann
926e6e97d8
Catch regex search exceptions and show exception message
...
Fix #9565 , close #9566
2021-03-24 01:24:24 +01:00
Scott Sumner
854f49c61c
Fix typo: FINFER -> FINDER
...
Close #9688
2021-03-23 23:35:59 +01:00
Don HO
0c0a5d2097
Add 2 new easter eggs for the upcoming Easter Sunday
2021-03-23 01:57:37 +01:00
Don HO
4399c1343b
Notepad++ 7.9.5 release
2021-03-22 22:46:05 +01:00
Don HO
aa22ee21cc
Add a new quote
2021-03-21 01:12:30 +01:00
mere-human
ad3a6ea2f6
Fix file doesn't save as extension type on Windows 7
...
Initialize file dialog window procedures later so that
all the controls have been created by this moment.
Fix #9657 , close #9674
2021-03-20 23:17:05 +01:00
mere-human
cd738bcff7
Fix UNC path with quotes handling in folder & file Open/Save dialog
...
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
2021-03-18 15:31:03 +01:00
Don HO
58f0a61770
Notepad++ 7.9.4 release
2021-03-15 01:37:51 +01:00
Udo Hoffmann
aaab4607c1
Fix Find button not enabled in Find in Files section regression
...
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8125#issuecomment-798801190
Close #9654
2021-03-14 19:31:08 +01:00
Don HO
68c537f697
Fix Find in Projects replace confirmation message localization problem
2021-03-07 17:05:02 +01:00
Udo Hoffmann
a044cefe7c
Fix Project workspace changes lost on save cancel
...
Fix #9605 , close #9609
2021-03-06 23:23:12 +01:00
Don HO
47ca5281fe
Revert "Improve high-dpi display"
...
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
2021-03-04 01:28:12 +01:00
Don HO
4b0010c4c3
Fix regression in "Find Result" field due to Scintilla upgrade
...
Fix #9595
2021-03-03 20:01:16 +01:00
Udo Hoffmann
5c884a80c6
Add "Find in Projects" features
...
Close #8125 , close #9534
2021-02-27 23:58:17 +01:00
mere-human
91a570a305
Fix folder picker not displying as the given directory is invalid issue
...
Fix #9569 , close #9570
2021-02-25 16:43:23 +01:00
mere-human
064d844a41
Fix handling of network path (UNC path) in CustomFileDialog
...
Use STL algorithms for path transformation.
Fix #9527 , close #9551
2021-02-22 19:09:37 +01:00
QoL
26dad277c9
Fix shortcut name more than 64 characters makes an empty name issue
...
Fix #9556 , close #9543
2021-02-22 05:05:41 +01:00
mere-human
f96d81af11
Fix extension appending issue in file dialog
...
Fix #9510 , close #9532
2021-02-22 03:58:30 +01:00
Udo Hoffmann
75bcb7c536
Fix file not turning dirty (with Session Manager plugin) issue
...
Fixes #9475 , close #9498
2021-02-22 03:30:13 +01:00
Don HO
dbac42edd0
Use unary operator '!' instead of "not"
2021-02-20 04:44:34 +01:00
Don HO
1eaaf45d87
Add needed space in "Window dialog"
...
Fix #9542
2021-02-20 03:44:37 +01:00
mere-human
35584b379f
Make tab splitter menu and incremental search translatable
...
Rename menu IDs in tab splitter to be in English.
Relocate some controls in incremental search dialog to ease translation.
Fix #8955 , close #9496
2021-02-19 04:00:02 +01:00
mere-human
6e43ba6ea5
Add an option to mute all sounds in preferences dialog
...
Fix #7950 , close #9507
2021-02-19 03:46:52 +01:00
Vince
69e6eb26a3
Make JSON auto-indent for brace
...
Fix #9499 , close #9504
2021-02-18 02:33:13 +01:00