47 Commits

Author SHA1 Message Date
ozone10
1ac1b1150d Code enhancement
Fix some conversion-null, nonnull-compare, unknown-pragmas, switch warnings, add initializers.

Fix #12179, close #12180
2022-09-19 01:38:26 +02:00
ozone10
43c8d8115f Code improvement, remove unnecessary part
Fix some conversion-null, unused-* warnings, add initializer.

Fix #12151, close #12152
2022-09-13 15:42:55 +02:00
ozone10
ebe7648ee1 Code improvement, remove unnecessary part
Fix pedantic warnings, add initializers.

Close #12093
2022-09-07 17:49:56 +02:00
ozone10
c72dac69c5 Add dark mode support on shortcut mapper entirely
Fix #11530, close #11682
2022-05-17 04:44:43 +02:00
ozone10
4f002c86b8 Fix cropped text in Shortcut mapper's status area issue
Adjust padding to fix ShortcutMapper visual glitch.

Fix #10358, close #11536
2022-04-20 02:23:01 +02:00
ozone10
2dbc25f918 Add initial dark mode support for Shortcut Mapper
- Partially implement #11530.
- Minor tweaks for drawAutocompleteColoursFromTheme to avoid double calling.

Close #11531
2022-04-13 21:11:17 +02:00
Don Ho
961a133a60 Remove 2GB file open restriction for x64 binary
Fix #10921, close #11047
2022-01-25 18:08:05 +01:00
Don Ho
e5a800722b Make code more sanitary
Fix some vulnerable codes detected by VS's analyzing.

Close #10541
2021-09-12 18:50:30 +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
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
Don Ho
934c988874 Make Shortcut mapper display correctly under high DPI 2021-07-26 23:55:35 +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
mere-human
6a4ef408f2 Fix GCC compiler warnings in Notepad++
Fix #10037, close #10048
2021-06-23 12:49:06 +02:00
Don HO
dbac42edd0
Use unary operator '!' instead of "not" 2021-02-20 04:44:34 +01:00
Don HO
ab5c1d3e2a
Upgrade Notepad++ License
Update GPL version from v2 to v3.

Fix #9425, close #9441
2021-01-24 01:51:19 +01:00
Don HO
abadbc6b21
Remove outdated comment 2020-06-17 03:00:24 +02:00
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO
6e6341cc61
Make some codes conform to the defined coding style 2020-01-28 02:20:44 +01:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO
52a4e21af5
Remove ugly coding style 2019-03-16 05:33:50 +01:00
Christophe Meriaux
7572015bda Enhance ShortcutMapper resizing
- keep centered buttons while resizing
- set minimum width and height

Close #4178
2018-02-19 23:56:27 +01:00
Don HO
213af53389 Add more translations
Find dialog status bar messages are translatable.
Add more shortcut mapper translation entries.
2018-02-14 10:02:55 +01:00
Christophe Meriaux
360d45db1a Add filter capacity in the shortcut mapper
Closes #4096, closes #2562
2018-02-11 16:37:30 +01:00
Christophe Meriaux
b47de8048d Shortcut Mapper is resizable and maximizable 2018-02-11 10:03:58 +01:00
Don HO
fb17638de7 Enhance Shortcut Mapper and make it translatable 2018-02-10 18:52:59 +01:00
Christophe Meriaux
a7c1e354b9 Shortcut Mapper improvements - add cathegory
Shorcut mapper - main panel : new colums that show the category of the shortcut
Shorcut mapper - plugin panel : new colums that show the plugin name that the shortcut belongs to
Shorcut mapper - scintilla panel : it shows every shortcuts configured for one command

Fixes #3583, Closes #3635
2017-08-21 02:12:00 +02:00
Don HO
385746de01 Rename variables & clean up 2017-07-27 10:30:53 +02:00
Christophe Meriaux
7ab6458978 Add shortcut mapper clear command
In the shortcut mapper, shortcuts can be cleared easily

Close #2800
2017-02-19 15:04:51 +01:00
A-R-C-A
5f3225b825 Improve tab alignment in Shortcut Mapper
Closes #2160
2016-08-14 11:12:27 +02:00
Don HO
d4bcec1c01 Lost in Translation 3 2016-08-11 22:29:39 +02:00
Don HO
37ed299743 Lost in Translation 2 2016-08-10 00:22:45 +02:00
Don HO
2e82a99649 Lost in translation
while (true)
{
conversion<C++>(C-Style cast );
}
2016-08-06 01:29:54 +02:00
A-R-C-A
1abac15799 Enhancement: add conflict detection to Shortcut Mapper
Closese #2029
Added a basic conflict detection functionality to the Shortcut Mapper.
This includes:

* Marking conflicts with a different background color.
* Displaying conflict information.
* Warning when attempting to assign an already existing short-key.

Some more related changes to the Shortcut Mapper:

* Fixed some bugs, for instance:
  1. Babygrid was shrinking on any attempt to adjust its position to integral
rows.
  2. Context menu entries were enabled for empty lists. Using them would crash
Npp.
  3. ... some more minor bug fixes.
* Performance enhancements to Babygrid.
* Minor UI improvements.
* Babygrid is configured dpi aware.
2016-07-31 21:08:56 +02:00
Don HO
797765173d Improve code quality by using static code analysis tool (cppchecker) 2016-07-18 02:08:29 +02:00
Don HO
64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
Don Ho
4fc06e2bc1 Fix plugin shortcut configuration lost problem by using option -noPlugin. (closes #589)
Solution: save shortcut.xml only if shortcuts have been modified.
2015-08-29 21:49:49 +02:00
NN
dbb43a729f DlgProc returns INT_PTR and not BOOL. Use correct prototype and remove casts.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx
2015-06-01 21:30:41 +03:00
Don Ho
e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +02:00
Don Ho
b94b9d8c61 [NEW_FEATURE] Make DPI-aware for Shortcutmapper and Preference Dialog.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1174 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-12 10:14:22 +00:00
Don Ho
7edbd55348 [NEW_FEATURE] Make Notepad++ DPI-aware.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1172 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-02-11 00:26:24 +00:00
Don Ho
6264ef03d0 [ENHANCEMENT] Code optimization.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
02086c9c0c [BUG_FIXED] (Author: CodeForLife) Fix Incorrect Macro Deleted from Macro Menu.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1053 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-06-04 00:28:50 +00:00
Don Ho
a896922136 [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00
Don Ho
49e4230a4a [NEW_FEATURE] Add 2 menu commands : "Modify Shortcut/Delete Macro" and "Modify Shortcut/Delete Command".
[NEW] Add "Modify" and "Delete" buttons on Shortcut mapper dialog.
[BUG_FIXED] Fix Shortcut Mapper inconsistence issue after deleting a macro or an user command.
[NEW] Add NPPM_GETCURRENTNATIVELANGENCODING message (to get the current native language enconding).
[UPDATE] Update native languages files: english.xml, french.xml and chinese.xml .
[BUG_FIXED] Remove characters count feature from the status bar due to its performance issue with UTF8 file.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@647 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-14 00:11:01 +00:00
Don Ho
0c490dc55a [ENHANCE] Thanks to Jocelyn Legault (precompiled headers), the build time is sped up.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@529 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-09-04 00:10:01 +00:00
Don Ho
05bb2a8f77 [ENHANCE] Enhance the source code compiling by /W4 /WX
.

Signed-off-by: Don HO <don.h@free.fr>

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@505 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-07-04 11:33:17 +00:00
Don Ho
4dd3b257e0 Moved PowerEditor in trunk remotely
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@460 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:34:47 +00:00