Commit Graph

5133 Commits

Author SHA1 Message Date
rddim 96030fe833 Add Bulgarian context menu entry
Close #13205
2023-02-23 21:10:05 +01:00
Don Ho a0031159cd Add new explorer context menu entry "Edit with Notepad++" for W11
Windows 11 has its new interface for its explorer context menu. It makes the old "Edit with Notepad++" command hardly accessible. This commit improves the accessibility and also fix issue of run as an administrator (Properties set in Compatibility) in the new context menu command.
It fixes also the context menu command issue under ARM64 architecture (fixed only under Windows 11).

The localization of "Edit with Notepad++" is also possible in this commit.

Note that if the command place of "Edit with Notepad++" context menu command is taken by other application ("\HKEY_CLASSES_ROOT*\shell\pintohome"), the new context menu "Edit with Notepad++" won't be installed. User should install it him/herself.

Fix #10320, fix #10565, fix #4368, fix #8786, fix #10320, fix #10640, fix #10856, fix #10653, fix #7747, fix #6169, fix #92, close #13170
2023-02-23 15:17:46 +01:00
Alan Kilborn b077c58b5d Make volatile Find uses least-strict option settings
Fix #13145, close #13159
2023-02-23 02:59:00 +01:00
mpheath 4fd972cda3 Auto-completion enhancement: reduce duplicate items in function/word list
Fix #13061, close #13098
2023-02-23 02:07:25 +01:00
Alan Kilborn 1b65cc0104 Make Select and Find (Next or Previous) always in Normal search mode
Fix #3229, close #13155
2023-02-21 18:46:20 +01:00
ArkadiuszMichalski 3f3aed43ed Rename commanfd "Remove Unmarked Lines" to "Remove Non-Bookmarked Lines"
Fix 5502; close #13149
2023-02-21 16:05:01 +01:00
ArkadiuszMichalski a0caaf83e3 [xml] Add more pseudo-classes to CSS
Fix #10517, close #13156
2023-02-21 04:25:24 +01:00
Christian Grasser b9ab516c2c Code enhancement: fix clang warnings
- reduced visibility of tagMaxLen to AutoCompletion.cpp
- fixed missing init of BoostRegexSearch::_lastDirection, adapted also _substituted
- removed unused vars Printer::_nbPageTotal, FunctionListPanel::_hTreeViewImaLst
- fileBrowser.cpp(511,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- ProjectPanel.cpp(595,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- removed unused methods IsStateComment(), IsStateString() from LexObjC.cxx
- removed unused var KEYWORD_FOLDCONTRACTED from LexObjC.cxx

Close #13167
2023-02-21 02:24:33 +01:00
Alan Kilborn 5c10f58212 Fix hit text in search results being out of sight issue
Fix #13129, close #13138
2023-02-21 02:09:04 +01:00
ozone10 caff51c788 GUI enhancement: replace auto-complete link mini dlg with slider
Fix #13162, close #13163
2023-02-21 01:05:12 +01:00
Alan Kilborn 5e2f5d79aa Code enhancement: correct parameter error to call of doOpen
Fix #13150, close #13158
2023-02-20 23:21:59 +01:00
ozone10 d30b789d67 Add support for non-printing char in main Search Result dock window
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13020#issuecomment-1430034599

Close #13128
2023-02-20 17:20:04 +01:00
ozone10 278f694f3a Code enhancement: fix GCC implicit-fallthrough warnings
Fix #13142, close #13143
2023-02-17 15:00:53 +01:00
ArkadiuszMichalski 9627494043 Fix translation issue for Dock/Undock label in User-Defined dialog
Fix 8020, close #13127
2023-02-16 14:30:47 +01:00
ozone10 4a4f96cefc Code enhancement: Fix GCC warnings
- fix conversion warnings
- fix missing-field-initializers warnings
- fix unused-parameter warnings
- fix deprecated-copy warnings
- add initializers

Fix #13122, close #13123
2023-02-15 21:06:38 +01:00
Christian Grasser e163c6d0aa Code enhancement: Secure overloads
- use  _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES, like in scintilla, see description in msdn https://msdn.microsoft.com/de-de/library/ms175759.aspx
- enable SDLCheck https://learn.microsoft.com/en-us/cpp/build/reference/sdl-enable-additional-security-checks?view=msvc-170

Close #13104
2023-02-15 15:19:37 +01:00
Don Ho 52c850de74 Fix a minor GUI glitch in Preferences lg
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13075#issuecomment-1429515246
2023-02-14 19:00:39 +01:00
ArkadiuszMichalski f403b12264 Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable
Fix one of issues in https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8972

Close #13120
2023-02-14 17:41:02 +01:00
ArkadiuszMichalski d2ba9cae0e Add keywords and functions of PHP
Fix #13012, fix #9897, close #13111
2023-02-14 16:59:15 +01:00
ozone10 37963ea21a Apply tab colors to document list items
and add groups to document list.

Fix #12155, fix #12689, cllose #13080
2023-02-14 14:15:13 +01:00
ArkadiuszMichalski 0c704fd66b Make theme warning message translatable (switching unsaved theme to another)
Fix report from comment: #8972 (comment).

Close #13112
2023-02-14 04:37:01 +01:00
ArkadiuszMichalski f7fcab4c21 Make categories in the Shortcut Mapper dialog translatable
Fix #8858, close #13110
2023-02-14 04:19:19 +01:00
ozone10 63ba30cfe1 Code enhancement: add -Wextra flag for GCC builds
- fix ignored-qualifiers warnings
- fix inconsistent-missing-override warnings
- use -O3 flag for GCC builds to keep inline with scintilla and lexilla
- add clang default settings in props
- add clang detection in debug info

Fix #13099, close #13100
2023-02-13 23:55:35 +01:00
Alan Kilborn dbd0c43dd1 Fix missing translation for the context menu items
Fix tab-bar-drag-to-edit-area move-and-clone ("Move to Other View" and "Clone to Other View") menu items not translating.

Fix #13088, close #13097
2023-02-13 17:27:49 +01:00
ArkadiuszMichalski 3f13957f69 Make two items in progress dialog translatable
Fix part of #8004, close  #13096
2023-02-12 18:30:33 +01:00
Christian Grasser 43182e1d04 Update to Scintilla 5.3.3 and Lexilla 5.2.2
update to https://www.scintilla.org/scintilla533.zip with:

   1. Released 8 February 2023.
   2. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug #2372.
   3. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position.
   4. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion.
   5. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug #2374.
   6. On GTK, support IME context. Feature #1476.
   7. On GTK on Win32, fix scrolling speed to not be too fast. Bug #2375.
   8. On Qt, fix indicator drawing past left of text pane over margin. Bug #2373, Bug #1956.
   9. On Qt, allow scrolling with mouse wheel when scroll bar hidden.

and https://www.scintilla.org/lexilla522.zip with

   1. Released 8 February 2023.
   2. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue #130.
   3. Matlab: Include more prefix and suffix characters in numeric literals. Issue #120.
   4. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue #18.
   5. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue #129.
   6. Modula-3: Fix endless loop in folder. Issue #128.
   7. Modula-3: Fix access to lines beyond document end in folder. Issue #131.
   8. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request #122.
   9. X12: Support empty envelopes. Bug #2369.

update CMakeLists.txt to latest changes within vcxproj file

Close #13082
2023-02-12 17:11:57 +01:00
mpheath 9eab1f566d Add option to make auto-completion list brief
Add filter and recall autocomplete option, so list will be shorter and shorter by adding characters.

Fix #12783, close #13075
2023-02-12 03:01:56 +01:00
Don Ho 03a5c4795b Add new notification for lexer plugin
The NPPN_EXTERNALLEXERBUFFER is sent to plugins with buffer ID (idFrom) when a new lexer is applied to the buffer in question.

Fix #12351, close #13091
2023-02-11 19:20:57 +01:00
Don Ho 4d107e2691 Close doc in document list on middle mouse button up
In 94b83158dc, closing doc in document list was on middle mouse button down.
This commit make it on middle mouse button up (for aligning with closing tab behaviour in Notepad++, also with OS middle mouse button click behaviour).
2023-02-11 18:53:58 +01:00
Rubat 94b83158dc Add middle mouse click ability to close doc in Document List
Documents are closed on middle mouse click down.

Fix #12949, close #13015
2023-02-11 18:49:13 +01:00
Alan Kilborn 0d9b16634d Fix Synch H/V Scrolling commands not sync with 2 views
Fix #5250, fix #13071, close #13069
2023-02-08 01:59:21 +01:00
mpheath 9285bf2d42 Fix missing items in word autocomplete
Word autocomplete change from case sensitive search to variable search based on _ignoreCase unless language type is text. This allows text documents to retain case sensitive search to respect typed case as the issue only affects case insensitive Data/Programming languages. If normal.xml exist in the autocomplete folder then xml defaults apply for text so would be case insensitive by default unless overridden by the xml setting <Environment ignoreCase="no" />.

Fix #13060, close #13062
2023-02-07 16:03:48 +01:00
ozone10 f38195a0da Fix GCC conversion warnings
Fix #13055, close #13056
2023-02-06 20:06:56 +01:00
ozone10 296a168b3f Fix Doc Switcher bottom cut off regression
Fix #13053, close #13054
2023-02-06 19:56:41 +01:00
ArkadiuszMichalski 43d9f0d665 Translate 'Compact Language Menu' popup dialog
Fix #13026, close #13035
2023-02-06 19:37:06 +01:00
ozone10 dc99ce1035 Make Non-Print Characters show by default
Add NEL and ALM to NPC, and add note to not translate npc custom color stylename.

Close #13063
2023-02-06 19:30:14 +01:00
Don Ho 39f32bda96 Fix panels not restored from systemtray with "Edit with Notepad++" in admin mode
Continue the fix from:
afacc8338e

Eventualy fix Notepad++ not being restored on the foreground issue.

Fix #13041, close #13058
2023-02-06 15:47:22 +01:00
ozone10 aaab190763 Add show non-printable characters command
| Name                         | Codepoint | Abbreviation |
|------------------------------|-----------|--------------|
| No-Break Space               | U+00A0    | NBSP         |
| Ogham Space Mark             | U+1680    | OSPM         |
| Mongolian Vowel Separator    | U+180E    | MVS          |
| En Quad                      | U+2000    | NQSP         |
| Em Quad                      | U+2001    | MQSP         |
| En Space                     | U+2002    | ENSP         |
| Em Space                     | U+2003    | EMSP         |
| Three-Per-Em Space           | U+2004    | 3/MSP        |
| Four-Per-Em Space            | U+2005    | 4/MSP        |
| Six-Per-Em Space             | U+2006    | 6/MSP        |
| Figure Space                 | U+2007    | FSP          |
| Punctation Space             | U+2008    | PSP          |
| Thin Space                   | U+2009    | THSP         |
| Hair Space                   | U+200A    | HSP          |
| Zero-Width Space             | U+200B    | ZWSP         |
| Zero-Width Non-Joiner        | U+200C    | ZWNJ         |
| Zero-Width Joiner            | U+200D    | ZWJ          |
| Left-To-Right Mark           | U+200E    | LRM          |
| Right-To-Left Mark           | U+200F    | RLM          |
| Line Separator               | U+2028    | LS           |
| Paragraph Separator          | U+2029    | PS           |
| Left-To-Right Embedding      | U+202A    | LRE          |
| Right-To-Left Embedding      | U+202B    | RLE          |
| Pop Directional Formatting   | U+202C    | PDF          |
| Left-To-Right Override       | U+202D    | LRO          |
| Right-To-Left Override       | U+202E    | RLO          |
| Narrow No-Break Space        | U+202F    | NNBSP        |
| Medium Mathematical Space    | U+205F    | MMSP         |
| Word Joiner                  | U+2060    | WJ           |
| Left-To-Right Isolate        | U+2066    | LRI          |
| Right-To-Left Isolate        | U+2067    | RLI          |
| First Strong Isolate         | U+2068    | FSI          |
| Pop Directional Isolate      | U+2069    | PDI          |
| Inhibit Symmetric Swapping   | U+206A    | ISS          |
| Activate Symmetric Swapping  | U+206B    | ASS          |
| Inhibit Arabic Form Shaping  | U+206C    | IAFS         |
| Activate Arabic Form Shaping | U+206D    | AAFS         |
| National Digit Shapes        | U+206E    | NADS         |
| Nominal Digit Shapes         | U+206F    | NODS         |
| Ideographic Space            | U+3000    | IDSP         |
| Zero-Width No-Break Space    | U+FEFF    | ZWNBSP       |

Fix also issue with tooltips in preference dialog, when changing between dark/light mode.

Fix #827, fix #4731, fix #8284, close #13020
2023-02-05 04:20:25 +01:00
Alan Kilborn 07924528c4 Add Begin/End Select in Column Mode command
Fix #12833, fix #12832, close #13034
2023-02-04 04:46:24 +01:00
Don Ho 5aeb8abb5d Fix notepad replacement opening file name containing white space regression
Fix #13032, close #13027
2023-02-02 20:35:45 +01:00
Andreas Heim 5014edfacc Fix some issues in Pascal/Delphi function list parser
Fix #12851, close #12852
2023-02-02 18:38:40 +01:00
mpheath 62a23a8dc7 Fix autocomplete to sort case insensitive issue
Fix #12495, close #12703
2023-02-01 02:04:23 +01:00
Rubat afacc8338e Fixed dock-able panels not restoring for mono instances
The bug happens when Notepad++ is in the tray, and is restored via mono instance restore mechanism.

Fixes #9454, close #12817
2023-01-31 20:04:03 +01:00
ozone10 05977f6308 Get full product name for debug info for Windows 11
Make it consistent with earlier version of Windows.

Fix #12855, close #12856
2023-01-31 19:58:32 +01:00
ozone10 e003f5b45f Code enhancement: Use dlg resource parameters instead of reSizeTo
Fix #12857, close #12858
2023-01-31 19:54:14 +01:00
Don Ho 409c363e1a Notepad++ v8.4.9 release 2023-01-31 12:55:51 +01:00
ArkadiuszMichalski 92db94a359 [xml] Update polish.xml to 8.4.9
Close #12846
2023-01-27 02:52:38 +01:00
Edditoria 277ea770fe [xml] Update localization: Hong Kong Cantonese...
As at commit f526567 of this repo.
This is a minor update for better presentation.

Close #12848
2023-01-27 02:50:50 +01:00
Karlo-F e302ea2c9f [xml] Update croatian.xml to 8.4.9
Close #12850
2023-01-27 02:48:37 +01:00
Don Ho 6e7901ecb3 Fix folder display mess in non-western languges under Macro/Run menu
Fix #12670
2023-01-26 23:32:51 +01:00