Commit Graph

4823 Commits (ca403b662718bbbb684d81ab52b80e97a6a366dc)

Author SHA1 Message Date
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
Latt Hsiang f526567f70 Update chineseSimplified.xml
Retranslated "Function Completion" and "Word Completion"

Close #12798
2023-01-23 21:29:42 +01:00
Tmp341 4fa9aae254 Update Turkish localization
* According to 81a77f1 and 307fd2f commits.

Close #12838
2023-01-23 21:27:30 +01:00
Andreas Heim 7dab5735c3 Update german.xml
Fix #12839, close #12840
2023-01-23 15:55:34 +01:00
Tmp341 0d22c4d867 Update Turkish localization
* Checked diff between 9809e2f and aa8ae48 commits via [Compare](9809e2f..aa8ae48 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472)).

Close #12718
2023-01-23 04:23:43 +01:00
schnurlos e8422ec9d9 [xml] Update german.xml to v8.4.9
Fix some text & missing entries.
Included https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12710 from Karlo-F

Close #12728
2023-01-23 04:22:28 +01:00
kubalav 8673880621 [xml] Update Slovak translation
Close #12732
2023-01-23 04:21:02 +01:00
rddim ee805cadb1 [xml] Update Bulgarian localization
Close #12734
2023-01-23 04:18:35 +01:00
Christophe Mateos 80f8540d1c [xml] Update french.xml
Close #12733
2023-01-23 04:17:08 +01:00
Marcello-mco e995980349 [xml] Update brazilian_portuguese.xml
Translation for "Add setting for panels to ignore '-nosession' "

Close #12735
2023-01-23 04:15:47 +01:00
Patriccollu 31e2491c2f Update Corsican translation for Notepad++ 8.4.9
Close #12741
2023-01-23 04:13:25 +01:00
~GOLEM~ 2402871419 [xml] russian.xml update v8.4.9
Close #12746
2023-01-23 04:11:51 +01:00
yasmise f351f83290 [xml] update japanese.xml to v8.4.9
Add translations for these commits:
* Add support selection for "EOL to Space" commands (81a77f13a6)
* Add setting for panels to ignore '-nosession' (307fd2fcd2)

Close #12750
2023-01-23 04:10:24 +01:00
Edditoria 1a85a3d7d6 [xml] Update localization: Hong Kong Cantonese...
As at commit 13dfaa9 of this repo.

Close #12770
2023-01-23 04:05:58 +01:00
Hugo Carvalho 88b303f120 [xml] Update portuguese.xml
For commits: 81a77f13a6 307fd2fcd2
Other minor corrections

Close #12786
2023-01-23 04:03:51 +01:00
doufu3344 d8a3ea135d Update chineseSimplified.xml
Close #12793
2023-01-23 04:01:38 +01:00
Don Ho 01661acbaa Fix un uncomment undo regression
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12830#issuecomment-1399538801

Fix #12830
2023-01-22 18:31:28 +01:00
Don Ho eabf5d76c5 Fix cannot undo "Block Uncomment" command in one shot
Fix #12830
2023-01-22 15:55:30 +01:00
Don Ho 04f38a7af0 Fix undo "Insert Date/Time" needs 2 times to get old data back issue
Fix #12831
2023-01-22 03:56:43 +01:00
Don Ho 535bd8fa0e Use wide char version's function directely (part3)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-21 21:28:23 +01:00
ozone10 8add866460 Code enhancement: use conformant code
Fix #12818, close #12819
2023-01-21 04:32:56 +01:00
Don Ho 63d1bbae78 Fix v8.4.8 hanging while opening some Pascal files
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12822#issuecomment-1397862706

Fix #12822
2023-01-20 05:05:54 +01:00
Don Ho 6140865351 Use wide char version's function directely (part2)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-19 04:12:29 +01:00
Don Ho 432dcb7f15 Use wide char version's function directely (part1)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-19 02:52:23 +01:00
Andreas Heim d476a894c2 Make Pascal/Delphi functionList more efficient and more reliable
Fix #12808, close #12811
2023-01-17 16:58:54 +01:00
Don Ho b280db88dc Add more unit tests for function list
Following the commit 7fad2a62d4
2023-01-17 15:35:38 +01:00
mpheath 7fad2a62d4 Fix exclude functions in comment zones of function list
Fix exclude functions in comment zones in C++, PHP, JavaScript and Pascal.

Fix #12759 (partially - issue 1 & issue 2), close #12799
2023-01-17 02:29:12 +01:00
ArkadiuszMichalski 1652236f32 Add selection support to TAB and Space conversion commands
Fix #12720, fix #12745, close #12739
2023-01-14 17:15:42 +01:00
Don Ho 6c3659fe73 Fix Notepad Replacement bug by simplifying its code
Fix #12775, close #12800
2023-01-14 15:30:31 +01:00
Don Ho df658a6010 Refactoring: make code more readable 2023-01-13 14:42:29 +01:00
ozone10 662b54e28a Add property sheet in VS project and clean project file
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12773#discussion_r1064351459

Fix #12790, close #12791
2023-01-11 18:34:01 +01:00
ozone10 6078ec7369 Replace macro min/max with std::min/std::max
ref https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11147#issuecomment-1365724574

Close #12784
2023-01-10 21:01:36 +01:00
ozone10 0742410737 Use predefined cursor (hand) for link text
Fix #12772, close #12773
2023-01-10 00:38:00 +01:00
ozone10 b3934afd92 Fix Notpad++ hangs while deleting search results results
When deleting search results use setLexer only when lexer is SCLEX_NULL.

Fix #12555, clos #12765
2023-01-08 02:51:06 +01:00
ozone10 17eba0a374 Fix docking GUI for plugin in light mode
Improve also combobox "v" position in hiDPI.

Fix #12007, close #12754
2023-01-07 14:19:24 +01:00
VinsWorldcom fd84de1ee4 Fix some incoherent upper/lower case in coffee.xml
Fix lowercase keyWord to proper uppercase KeyWord in APIs/coffee.xml file.

Fix #12762, close #12763
2023-01-06 19:25:11 +01:00
Don Ho bdb06d5c10 Add JSON5 support
Currently, it's only JSONC (with js comment supported).
It will be enhanced in the future.

Usage: set your file to JSON5 via language menu, or change file extension to .json5 or .jsonc.
Note that the keywords and stylers are shared with JSON.

Fix #11676, fix #11713, close #12761
2023-01-06 14:25:19 +01:00
ArkadiuszMichalski 13dfaa96a8 Add -Wconversion flag to makefile
Fix #12740, close #12747
2023-01-03 01:23:30 +01:00
Andreas Heim 3596517894 Pascal function list parser enhancement
Prevent in function list panel entries of procedure/function declarations placed in interface section of a Pascal unit as they are superfluous duplicates.

Fix #12693, fix #12687, close #12686, close #12694
2023-01-02 17:27:17 +01:00
ozone10 3da880b4f8 Align edge with tab (dark mode)
1. Draw frame around tabs in multi-line state (dark mode).
2. Adjust padding for hiDPI.
3. Add initializers.

Fix #12737, close #12738
2023-01-01 13:24:27 +01:00
xomx c63c0035f3 Fix saving 4GB+ files file size cutting off issue
This commit fixes invalid 64-bit to 32-bit castings of filesize integers.

Fix #12526, close #12736
2022-12-31 17:52:20 +01:00
ozone10 307fd2fcd2 Add setting for panels to ignore '-nosession'
Fix #9710, close #12699
2022-12-30 20:08:10 +01:00
ArkadiuszMichalski 81a77f13a6 Add support selection for "EOL to Space" commands
And rename "Remove Unnecessary Blank and EOL" command to "Trim both and EOL to Space".

Fix #12702, close #12711
2022-12-30 17:26:15 +01:00
Don Ho 3ee8660c23 Replace N++ by Notepad++ and fix some typos
Fix also function "getWinVersionStr" not returning "Windows 11":
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12722#discussion_r1058510340

Fix #12708, fix #12709
2022-12-29 15:38:20 +01:00
ozone10 50e95d2267 Code enhancement: Replace undocumented functions
Fix #12721, close #12722
2022-12-29 15:11:05 +01:00
ozone10 6a8a446eb6 Add dark mode to project panel file relocalizer dlg
Fix #12713, close #12714
2022-12-28 18:08:12 +01:00
ArkadiuszMichalski 3022a2ee2d [xml] Add .psd1 as recognized file extension for PowerShell
Fix #9912, close #12719
2022-12-28 16:47:56 +01:00
ArkadiuszMichalski 1d6fe3ff42 [xml][force compile] Add toolbarIcons.xml to the build process
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12682#issuecomment-1365151173

Close #12712
2022-12-27 19:20:06 +01:00
ozone10 dc3fd93f5a Fix doc switcher not using other icon sets
And add initializers.

Fix #12242, close #12701
2022-12-27 15:16:22 +01:00
ArkadiuszMichalski d87e996ff2 [xml] Add .mjs as recognized file extension for JavaScript
Fix #10746, close #12704
2022-12-27 02:39:19 +01:00
ozone10 d1565a4705 Fix memory leak, fix warnings, replace GetWindowLong with GetWindowLongPtr
Fix #12697, close #12698
2022-12-26 20:23:19 +01:00
ozone10 2fb7da73d7 Remove "stylerTheme" attribute in config.xml
Fix #12685, close #12691
2022-12-26 15:20:16 +01:00
ArkadiuszMichalski 7fd8eb7f80 [xml] Update VBA keywords
Fix #9389, close #12683
2022-12-26 14:45:07 +01:00
ArkadiuszMichalski 5a1e0898ca Add two missing xml files to makefile
Close #12682
2022-12-26 14:05:38 +01:00
ozone10 90af76353e Fix gcc warnings
Fix #12675, close #12676
2022-12-26 12:01:33 +01:00
Coises 5719558588 Fix sorting not stable issue
Use std::stable_sort instead of std::sort for column selection sorts.

Fix #12678, close #12680
2022-12-26 02:53:13 +01:00
ArkadiuszMichalski 3f0f6a2295 Fix trim operations for selection lines not working issue
Fix #12602, fix #12658, close #12655
2022-12-25 23:37:55 +01:00
ArkadiuszMichalski ad6b9085dd Fix XML tag-matching not be case-sensitive
Make XML and XHTML tag matching case-sensitive.

Fix #10011, close #12688
2022-12-25 22:49:11 +01:00
Don Ho 3d1aa408dd Enlarge items window in Preferences dialog for better translation display 2022-12-25 18:57:34 +01:00
Don Ho ac8782db13 Notepad++ 8.4.8 release 2022-12-24 20:58:03 +01:00
Don Ho 13ddc1a339 Fix changing INI styles not working regression
Fix #12696
2022-12-24 17:46:23 +01:00
Don Ho 11f7ba2e0a Fix a typo 2022-12-22 00:12:19 +01:00
Don Ho 529693a559 Add forgotten files into the binary packages 2022-12-21 23:52:53 +01:00
ozone10 caa4827e18 Fix search result not applying new theme
Fix #12588, close #12672
2022-12-20 17:51:34 +01:00
ccuser44 4ae6736c99 Update lua.xml
Remove API which doesn't belong to official LUA, add new LUA API.

Close #12657
2022-12-20 17:15:10 +01:00
ozone10 f10753d2da Make theme portable
Fix 6518f3e4b8 (commitcomment-93601484)

Close #12671
2022-12-20 15:12:53 +01:00
Don Ho 58416114da Add tabContextMenu_example.xml into binary packages 2022-12-19 03:34:24 +01:00
ozone10 3bd262c7ce Add dark autocompletion icons for dark themes
Fix #12549, close #12667
2022-12-19 00:56:57 +01:00
ozone10 be98609801 Fix autocomplete/calltip colors not applied when changing themes
Fix #12514, close #12666
2022-12-19 00:25:45 +01:00
Karlo-F 3012cb192a [xml] Update croatian.xml
Updated croatian.xml to 8.4.8.

Close #12660
2022-12-18 22:26:47 +01:00
ozone10 6518f3e4b8 Fix theme not changed issue after switching dark/light mode in some cases
1. Fix custom theme (in %APPDATA%) not changing if it is not in default theme dir (in the installation location).
2. Fix default dark theme not applied in dark mode if config is missing (For example, the 1st launch of Notepad++ after its installation).
3. Fix theme not working in cloud issue and portable mode.

Fix #6092, fix #10801, fix #12296, close #12662
2022-12-18 22:15:53 +01:00
Don Ho a0c41cc5a5 Revert "Fix Trim Operations not working on selection"
This reverts commit bf34ef0dd5 due to bug https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12658
2022-12-18 21:24:24 +01:00
Edditoria 4f7f48a6af Update localization: Hong Kong Cantonese
As at commit 3fcad98 of this repo.

Close #12567
2022-12-16 17:41:21 +01:00
rddim 6a853d7f47 Update Bulgarian localization
Close #12596
2022-12-16 17:38:27 +01:00
Marcello-mco ef1cbbc7d6 [xml] Update brazilian_portuguese.xml
Close #12516
2022-12-16 14:16:48 +01:00
Don Ho 0fe063605e [xml] Add comment to help reorganizing Macro & Run menu 2022-12-16 14:11:29 +01:00
vlakoff 1a5bd265e5 [xml] Fix some enties in PHP autocompletion
Close #12641
2022-12-16 12:07:59 +01:00
yasmise 264082145a [xml] update japanese.xml to v8.4.8
Add translations for these commits:
* Add localization for Length label in the Customize Maximum Length popup (bc1487881a)
* Update localization files (11ccc415e7)
* Fix localization files (3fcad98883)
* Fix inconsistencies at OS-forced Notepad++ (v8.4.7) exit (bd4c323d75)
* Make tab context menu customizable (aa8ae48b99)

Close #12542

Also some fix to remove useless space characters.
2022-12-16 11:56:04 +01:00
ArkadiuszMichalski 901f62f948 [xml] Update polish.xml to 8.4.8
Close #12653
2022-12-16 02:50:58 +01:00
ArkadiuszMichalski cf158689f7 Add Go to settings for "Change History margin" style in Style Configurator
Close #12650
2022-12-16 01:01:38 +01:00
Hugo Carvalho 4f7ae29bfa [xml] Update portuguese.xml
Close #12599
2022-12-16 00:44:06 +01:00
ArkadiuszMichalski e45c1fc322 [xml] Fix disabled options activated in themes issue
Don't use non-working attributes for WidgetStyle in themes.

Fix #12508, close #12635
2022-12-16 00:24:27 +01:00
xomx 166b9b5c45 [xml] Update czech.xml to v848
Close #12652
2022-12-16 00:06:20 +01:00
Artem Polivanchuk 83dcf5d575 [xml] Update ukrainian.xml
Close #12276
2022-12-16 00:05:12 +01:00
schnurlos d89f338953 [xml] Update german.xml to v8.4.8
Close #12543
2022-12-16 00:02:05 +01:00
Patriccollu 1b22df5391 [xml] Update Corsican translation for Notepad++ 8.4.8
Close #12561
2022-12-15 23:59:08 +01:00
Christophe Mateos df911511ac [xml] Update french.xml
Close #12590
2022-12-15 23:56:16 +01:00
~GOLEM~ b97305517a [xml] Update russian.xml to v 8.4.8
Close #12601
2022-12-15 23:52:58 +01:00
ArkadiuszMichalski 4276165bbd Fix themes' inconsistent behaviour after saving
Don't write the fontStyle attribute in the theme if it doesn't exist.

Fix #12642, close #12644
2022-12-15 23:50:11 +01:00
kubalav 109ad868b3 Update Slovak translation
Close #12515
2022-12-15 18:13:59 +01:00
Juan be2c1bfbce Update spanish.xml to v8.4.7
Close #12573
2022-12-15 18:10:08 +01:00
Juan 9752c9e103 Update galician.xml v 8.4.7
Close #12572
2022-12-15 18:05:38 +01:00
ArkadiuszMichalski e75bd80693 Fix Go to settings for URL hovered style
Close #12634
2022-12-15 17:13:31 +01:00
Don Ho c0e2073280 Enhance Properties file: add/improve the syntax folding/highlighting
And make the description more accurate on status bar.

Ref:
3fb9c7195f (r93126447)
2022-12-15 16:21:54 +01:00
Christian Grasser fc61868cf2 Update to Scintilla 5.3.2 and Lexilla 5.2.1
update to https://www.scintilla.org/scintilla532.zip with:

    Released 6 December 2022.
    Add SCI_REPLACETARGETMINIMAL to change text without causing unchanged prefix and suffix to be marked as modified in change history.
    Draw background colour for EOL annotations with standard and boxed visuals.
    Add SCI_GETSTYLEDTEXTFULL to support 64-bit document positions on Win32 replacing SCI_GETSTYLEDTEXT which is not safe for huge documents. Feature #1455.
    Send SCN_AUTOCCOMPLETED for SCI_AUTOCSHOW triggering insertion because of SCI_AUTOCSETCHOOSESINGLE mode. Feature #1459.
    Change 'paragraph up' commands SCI_PARAUP and SCI_PARAUPEXTEND to go to the start position of the paragraph containing the caret. Only if the caret is already at the start of the paragraph will it go to the start of the previous paragraph. Bug #2363.
    Change release compilation optimization option to favour speed over space. -O2 for MSVC and -O3 for gcc and clang.
    On Win32, avoid blurry display with DirectWrite in GDI scaling mode. Bug #2344.
    On Win32, use the top-level window to find the monitor for DirectWrite rendering parameters. Temporarily switch DPI awareness to find correct monitor in GDI scaling mode. Bug #2344.
    On Qt, implement SCI_SETRECTANGULARSELECTIONMODIFIER for all platforms.
    On Qt, allow string form XPM images for SCI_REGISTERIMAGE.

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

    Released 6 December 2022.
    Update to Unicode 14. Feature #1461.
    Change default compilation optimization option to favour speed over space. -O2 for MSVC and -O3 for gcc and clang.
    Batch: Fix comments starting inside strings. Issue #115.
    F#: Lex signed numeric literals more accurately. Issue #110, Issue #111.
    F#: Add specifiers for 64-bit integer and floating point literals. Issue #112.
    Markdown: Stop styling numbers at line start in PRECHAR style. Issue #117.
    PowerShell: Recognise numeric literals more accurately. Issue #118.

Close #12624
2022-12-15 13:11:17 +01:00
Don Ho 27e19089d2 [xml] Fix xml syntax error 2022-12-15 02:08:31 +01:00
Don Ho 3fb9c7195f Add more keywords and file extentions for languages 2022-12-15 00:56:29 +01:00
Biswapriyo Nath 41ebf9a2ba Make some git related files apply to ini syntax automatically
This .gitconfig file syntax is as similar as .ini file
as documented here[1]. gitmodules[2] and gitattributes[3]
also follow same syntax. The VSCode ini extension[4]
maintain the similarities.

[1]: https://git-scm.com/docs/git-config#_configuration_file
[2]: https://www.git-scm.com/docs/gitmodules
[3]: https://www.git-scm.com/docs/gitattributes
[4]: https://github.com/microsoft/vscode/blob/main/extensions/ini/package.json

Close #12629
2022-12-14 16:54:25 +01:00
xomx 4f1aa7b004 Fix crash on Win32 Namespace prefixed file name
Implement support for Win32 Namespace prefixed file name in Notepad++.
(Ref: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces)

Support the Win32-filenames escaped by \\?\ or \\?\UNC\, possible globbing in filenames (\\?\C:\fil?.txt) and shell links (\\?\C:\file.txt.lnk) included.

Unsupported (temporarily - it needs further patches for Notepad++):
- any raw filename with length exceeding the MAX_PATH.
- any nonstandard Windows OS filename: with 'dot' or 'space' char(s) at the name end, WinOS reserved ones: AUX, CON, PRN, NUL, COM1-9, LPT1-9 and the ones with invalid ASCII chars in it (0-31, <, >, | , ").

Fix #12453, close #12613
2022-12-14 15:02:04 +01:00
Don Ho ee336b24c1 [xml] Add SQL unit tests
And make unit test error message more explicit.

Close #12627
2022-12-13 15:58:37 +01:00
Massimo Fidanza a755c56639 Enhance SQL function list
Close #12625
2022-12-11 18:50:22 +01:00
ArkadiuszMichalski bf34ef0dd5 Fix Trim Operations not working on selection
Trim Operations works for entire document only.
Now selection for Trim Operations is supported.

Fix #12602, close #12626
2022-12-11 14:27:10 +01:00
Don Ho 4e4d9d95ce Fix delimiter selection crash issue
Fix #12384, close #12621
2022-12-10 13:15:40 +01:00
Don Ho f1e1f6be87 Make Run menu organizable with sub-menu
This commit uses the same mechanism (8e85110b5e) for organization of macro menu:
Add attribute `FolderName="sub-menu name"` in "Command" node to have the sub-menu.

Close #12617
2022-12-09 16:34:01 +01:00
Don Ho 8e85110b5e Make macro menu organizable with submenu
This PR allows users to add one level of submenu manually for macro command in shortcuts.xml, in order to better organize macro menu commands.
For doing it, `FolderName="my menu 1"` attribut should be added in <Macro> node. Only 1 level of submenu is allowed.

Here is an example:

```xml
    <Macros>
        <Macro name="aa" Ctrl="no" Alt="no" Shift="no" Key="0">
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="A" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="A" />
        </Macro>
		<Macro name="azerty" Ctrl="no" Alt="no" Shift="no" Key="0" FolderName="words">
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="a" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="z" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="e" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="r" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="t" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="y" />
		</Macro>
		<Macro name="qwerty" Ctrl="no" Alt="no" Shift="no" Key="0" FolderName="words">
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="q" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="w" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="e" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="r" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="t" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="y" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="&#x000D;" />
			<Action type="1" message="2170" wParam="0" lParam="0" sParam="&#x000A;" />
		</Macro>
        <Macro name="BB" Ctrl="no" Alt="no" Shift="no" Key="0">
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="&#x000D;" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="&#x000A;" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="B" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="B" />
        </Macro>
        <Macro name="Trim Trailing Space and Save" Ctrl="no" Alt="yes" Shift="yes" Key="83" FolderName="func">
			<Action type="2" message="0" wParam="42024" lParam="0" sParam="" />
			<Action type="2" message="0" wParam="41006" lParam="0" sParam="" />
		</Macro>
        <Macro name="azerty2" Ctrl="no" Alt="no" Shift="no" Key="0">
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="a" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="z" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="e" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="r" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="t" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="y" />
            <Action type="1" message="2170" wParam="0" lParam="0" sParam="2" />
        </Macro>
    </Macros>

```

Fix #5349, close #12605
2022-12-07 01:55:15 +01:00
ArkadiuszMichalski 8785b29e21 Update PowerShell keywords
Close #12609
2022-12-06 16:35:24 +01:00
ArkadiuszMichalski e64d1efe75 [xml] Add autocompletion for PowerShell
Fix #12492, close #12606
2022-12-06 16:30:09 +01:00
xomx 6c9f4cdff3 Fix inconsistencies at OS-forced Notepad++ v8.4.7 exit - 2nd part
This fixes users reported inconsistency in between the usual Notepad++ exit initiated manually by a user and the Windows OS forced one in case that the Notepad++ backup mode is ON.

Fix 2nd part of the #12541
Close #12600
2022-12-04 14:07:35 +01:00
ArkadiuszMichalski f6d36235cd Fix sorting failure in zero-length column mode selection
Support thin rectangular by sort commands.
Ref: https://www.scintilla.org/ScintillaDoc.html#SCI_GETSELECTIONMODE

Fix #12299, close #12595
2022-12-02 19:26:37 +01:00
Don Ho c63cc6f219 Fix Default Language not working for the 1st empty file with empty session
Fix #12586
2022-12-02 17:57:50 +01:00
Don Ho f400b682b5 [xml] Include tab cm old layout in comment 2022-12-01 16:19:34 +01:00
Don Ho c1cb0022c4 Add a forgotten command 2022-12-01 15:21:31 +01:00
Don Ho aa8ae48b99 Make tab context menu customizable
Use tabContextMenu_example.xml for the customization:

1. rename to tabContextMenu.xml
2. modify it
3. copy it beside notepad++.exe or to %APPDATA%\Notepad++\ according to your Notepad++ conf
4. relaunch Notepad++

Note for the localization:

1. You have to use the newest localization file (or modify your existing localization file with the newest english.xml).
2. The customized sub-menu entry cannot be translated. User can use his/her native language as value of attribute "FolderName" in tabContextMenu.xml file.
3. User can always add any command beyond the default commands in tabContextMenu.xml file. But such command won't be translated.

Fix #12170, close #12576
2022-11-30 15:03:36 +01:00
xomx bd4c323d75 Fix inconsistencies at OS-forced Notepad++ (v8.4.7) exit
Now if the Notepad++ will have an unsaved data and is still running at the OS restart/shutdown, there will be one universal messagebox "Windows session is about to be terminated but you have some data unsaved. Do you want to exit Notepad++ now?".

When Notepad++ backup mode is ON, answer:
  - YES ... Notepad++ simply quits (Notepad++ backup engine silently handles all the stuff needed)
  - NO  ... Notepad++ stays running, user is on his/her own

When Notepad++ backup mode is OFF, answer:
  - YES ... Notepad++ behaves identically as in the case of the usual Notepad++ IDM_FILE_EXIT or WM_CLOSE messages (save dlgs appears etc., it depends on the current user Notepad++ settings)
  - NO  ... Notepad++ stays running, user is on his/her own

Fix v847
2022-11-29 15:32:30 +01:00
Don Ho de5f419314 Fix the tab context menu reload command's state not synchronized
Fix #12579
2022-11-28 19:08:26 +01:00
Arkadiusz Michalski cffdf79a9b More performance optimization for the Remove Empty Lines command
Close #12544
2022-11-25 18:01:26 +01:00
dinkumoil 891f2ed682 Add function list parser for NppExec plugin's scripting language
Fix #12517, close #12519
2022-11-25 16:29:00 +01:00
xomx 6b34f9ce08 Fix incorrect plugin architecture reports partially
Fix partially #12565

Close #12566
2022-11-25 13:27:01 +01:00
VinsWorldcom f03381e779 Autocomplete enhancement: sharpen icons
Fix #12549, close #12550
2022-11-23 19:24:08 +01:00
CennoxX 22963f53dd Add Mark Styles to theme DansLeRuSH-Dark
Add missing Mark Styles, remove missplaced tabs.

Fix #12504, close #12551
2022-11-23 18:03:49 +01:00
Don Ho 3fcad98883 Fix localization files 2022-11-22 19:13:09 +01:00
Don Ho 11ccc415e7 Update localization files 2022-11-22 18:32:36 +01:00
Don Ho 4c188c3019 Fix style.xml not remember by light mode 2022-11-22 16:59:50 +01:00
ozone10 e2a1234384 Dark mode enhancement
1. Add "Follow Windows dark/light mode".
2. Remember user's toolbar, tabbar and theme choices for dark mode and light mode separately.
3. Add 2 hidden options for applying tab background color from themes (for both dark mode and light mode).

Fix #9183, fix #9992, fix #10153, fix #10239, fix #10544, fix #10644, fix #11867, fix #10239, close #12466
2022-11-22 01:54:05 +01:00
Arkadiusz Michalski 6803b69c0b Make some styles to be more visible with the current line style
Fix #12506, close #12507
2022-11-14 18:58:40 +01:00
Arkadiusz Michalski d53ed27bb3 Improve the performance of Remove Empty Lines command
Fix #12462, close #12512
2022-11-14 18:46:18 +01:00
dinkumoil 87a53d1ed2 Add Pascal/Delphi for Function List
Add Pascal/Delphi FunctionList parser and unit tests.

Fix #3664, close #12489
2022-11-14 15:35:10 +01:00
Arkadiusz Michalski bc1487881a Add localization for Length label in the Customize Maximum Length popup
Fix #12421, close #12429
2022-11-14 00:09:09 +01:00
Arkadiusz Michalski bac903208c Change foreground color for ERROR in JSON to be more readable
Fix #8715, close #12441
2022-11-13 23:40:57 +01:00
Arkadiusz Michalski 596df7988a Update PowerShell keywords
Fix #5004, close #12491
2022-11-13 18:16:04 +01:00
Arkadiusz Michalski 997349d056 FindReplaceDlg enhancement: Add vertical scroll bar on all combobox
Add WS_VSCROLL to all COMBOBOX in FindReplaceDlg.

Fix #12459, close #12501
2022-11-13 16:01:14 +01:00
Don Ho d4719a83a6 Use writeLog instead of OutputDebugString for certificate checking
And disable writeLog in  certificate checking (can be enabled manually in case of debugging).

Fix #12490
2022-11-12 18:42:26 +01:00
Don Ho f6b1cf3e77 Update certif/sha256 verification 2022-11-12 02:28:30 +01:00
Arkadiusz Michalski 67256a107b Update CPP keywords
Fix #11936, close #12477
2022-11-10 14:40:37 +01:00
Don Ho c8816e08f7 Notepad++ 8.4.7 release 2022-11-08 12:42:39 +01:00
~GOLEM~ e5708bf3ea Hotfix russian.xml v8.4.7
Fix wrong IDs.

Close #12452
2022-11-08 04:14:34 +01:00
Thomas De Rocker e53aefcf87 Update dutch.xml
Close #12455
2022-11-08 04:12:13 +01:00
Karlo-F a12168c3bb Update croatian.xml to 8.4.7
Close #12456
2022-11-08 04:09:37 +01:00
Biswapriyo Nath f3f615d522 Set PKGBUILD and APKBUILD syntax highlighting as shell script
Both PKGBUILD and APKBUILD files are actually shell script. See
* https://wiki.archlinux.org/title/PKGBUILD
* https://wiki.alpinelinux.org/wiki/APKBUILD_Reference

Close #12445
2022-11-01 22:43:56 +01:00
Harvey R 6f67656f8c Make solarized.xml up-to-date with stylers.xml
Fix #12425, close #12444
2022-11-01 22:23:29 +01:00
Don Ho 713117c68d Rename a function 2022-11-01 15:18:24 +01:00
SinghRajenM 5b9cd0b2e5 Fix plugin admin search issue
Fix #12375, close #12376
2022-11-01 14:59:59 +01:00
Tianxiao Cao 0bd8f6f7e0 Update spanish.xml
Fix #12268, close #12277
2022-11-01 14:25:09 +01:00
Artem Polivanchuk c96be1bbe4 Update belarusian.xml
Close #12379
2022-11-01 13:59:32 +01:00
Arkadiusz Michalski ae32f34fb3 Add minlength attribute for HTML
Fix #12416, close #12430
2022-10-31 11:49:29 +01:00
Don Ho 3e9413d615 Restore Scintilla header files
Restore Sci_Position.h & ScintillaStructures.h (ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12327#issuecomment-1296020276)
And add R styles.
2022-10-31 01:52:42 +01:00
Christian Grasser b502266e8d Update to scintilla 5.3.1 and lexilla 5.2.0
Close #12327
2022-10-31 00:45:13 +01:00
Edditoria 22489a1311 Update localization: Hong Kong Cantonese
As at commit 2f080d8 of this repo.

Close #12428
2022-10-30 23:31:55 +01:00
rddim 2f080d82af Update Bulgarian localization
Close #12343
2022-10-30 17:22:55 +01:00
Don Ho b4c5c14cd6 Enlarge a control for the translation 2022-10-30 17:20:52 +01:00
Marcello-mco 9df5859d06 Update in Brazilian Portuguese translation
Close #12335
2022-10-30 15:37:58 +01:00
xomx 6000f3bb21 Fix session.xml emptying by forced Windows update restart
This fixes both the long standing problem with the emptying of the session.xml file by forced Windows Update restart/shutdown and some potential Notepad++ crashes caused by possible main Notepad++ window blocking at exit.

Two main changes to the original design:
- WM_QUERYENDSESSION is not used anymore for the tidy-up ops and it always quickly returns TRUE/FALSE to the system as it should.
- there is now a safe-guard flag for the session.xml saving at N++ exit, which prevents otherwise possible incorrect overwriting in case of multiple "endsession" messages.

Fix #9850, fix #12389, close #12388
2022-10-30 14:06:33 +01:00
Matteo Concato ed3189e00b Update Italian.xml
Fix #12265, close #12267
2022-10-30 13:25:52 +01:00
Hugo Carvalho 2fd55ff11d Update portuguese.xml
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12269

Close #12274
2022-10-30 13:15:09 +01:00
kubalav 4cb312da58 Update Slovak translation
Close #12341
2022-10-30 13:10:56 +01:00
Patriccollu 8c7142ddb8 Update Corsican translation for Notepad++ 8.4.7
Close #12346
2022-10-30 12:59:35 +01:00
A. Regnander b9bb1706b2 Update swedish.xml
Close #12345
2022-10-30 12:55:09 +01:00
yasmise 20771fe55a update japanese.xml to v8.4.7
Add translations for these commits:
* Make large file limit (for styling) configurable (8ff003412a)
* Add tooltips in performance section to make features more explicit (c02c23b7d4)
* Enhance Large File Restriction UI (6755daf223)
* Add "Allow clickable link" option in large file restriction (cd6a6ac3bb)

Close #12361
2022-10-30 12:53:01 +01:00
~GOLEM~ 39e0aa37b5 Update russian.xml v8.4.7
Close #12362
2022-10-30 12:50:24 +01:00
IoeCmcomc 32bb1457ca Update Vietnamese translation
Close #12365
2022-10-30 12:43:31 +01:00
Sapziller 0ce2c20835 Update korean localization file
Update korean 8.4.5 -> 8.4.6

Close #12409
2022-10-30 12:34:15 +01:00
ArkadiuszMichalski b8a05edcfa Update polish.xml to 8.4.7
Update polish.xml to 8.4.7 according to the last commit.

Close #12413
2022-10-30 12:31:43 +01:00
xomx a54cc861bf Update czech.xml to v8.4.7
Close #12420
2022-10-30 12:29:15 +01:00
Don Ho 5867025842 Fix 32 bits build error 2022-10-30 11:47:45 +01:00
Don Ho 513ee3e3fe Use Scitilla default 64 bits symbol 2022-10-30 01:09:52 +02:00
ArkadiuszMichalski c3ffe35492 Enhance "Allow clickable link" option for Large File Restriction
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12369#issuecomment-1287821244.
2022-10-28 12:37:32 +02:00
Don Ho b4f569b8ba Add back an misdeleted entry 2022-10-27 13:18:02 +02:00
Don Ho 50a50cce3c Remember Column Editor settings through the sessions
Close #12386
2022-10-25 00:20:54 +02:00
Don Ho cd6a6ac3bb Add "Allow clickable link" option in large file restriction
And enhance large file restriction UI

Close #12369
2022-10-22 14:31:19 +02:00
Don Ho 7e080a46bb Fix brace match not working in Large File Restriction
Fix also the highlight remaining issue while Large File Restriction disabled.
2022-10-20 16:19:49 +02:00
Don Ho 6755daf223 Enhance Large File Restriction UI
1. Rename some labels to be more explicit.
2. Add a tooltip for "Deactivate Word Wrap globally".
3. Unchecking "Enable Large File Restriction" removes the sub-restrictions.
2022-10-20 05:07:17 +02:00
SinghRajenM 546745fe34 Increase hash font height 2022-10-18 04:22:11 +02:00
Don Ho c02c23b7d4 Add tooltips in performance section to make features more explicit
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12310#issuecomment-1279826809
2022-10-17 17:09:02 +02:00
xomx 1be0044663 Installer enhancement: prevent arm64 installer from installing on non ARM64 system
Fix #12320, close #12331
2022-10-16 01:38:30 +02:00
xomx a6a1442bab Installer enhancement: remember "Don't use_%APPDATA%" option
Added detection of the "doLocalConf.xml" trigger-file from the previous installation.

Fix #12202, close #12326
2022-10-15 23:38:50 +02:00
Don Ho 8ff003412a Make large file limit (for styling) configurable
Background: because styling large file can cause the performance issue, 200 MB (and bigger) file is not applied to its language (if any) while loading.
This PR makes large file restriction for styling and for other features (smart highlighting, brace match, etc...) configurable via the section Performance of Preferences dialog.

Fix #11389, fix #12260, fix #11670, close #12310
2022-10-15 18:18:06 +02:00
Anklebitter 49e5a17377 Enhance "Go To" dialog: update line/position data dynamically
Fix #12284, close #12302
2022-10-09 17:35:37 +02:00
Don Ho a26599794c Refactoring & optimizing open/save large files time 2022-10-09 01:08:22 +02:00
Christian Grasser f57c69aac6 Fix output from makefile and correct cmake for c++20
Close #12297
2022-10-07 02:58:44 +02:00
Don Ho e73fca5a85 Use c++20 function ends_with()
Close #12294
2022-10-06 20:49:23 +02:00
ozone10 bcaf0f00b5 Update CI env to have GCC 12 for using c++20
1. Update Makefile to use c++20.
2. Update appveyor.yml to use MSYS2 (GCC 12).

Close #12292
2022-10-06 17:34:19 +02:00
Don Ho 3cbbb42933 Revert "Fix CI system error due to the project build env update"
This reverts commit c64049a1e6.
2022-10-06 14:15:16 +02:00
Don Ho c64049a1e6 Fix CI system error due to the project build env update
And use C++20 for string::ends_with() function.
2022-10-05 17:28:21 +02:00
SinghRajenM 4b539b4d5d Build project using C++20
Fix #12232, close #12233
2022-10-05 15:44:56 +02:00
Don Ho 4c96f86979 Update build environment
Update MS Visual Studio to 2022 and its platform toolkits to v143.
2022-10-05 13:52:55 +02:00
Harvey R 06a082d35f Add Python missing option in theme files
Fix #12066, close #12070
2022-10-05 04:19:21 +02:00
Robert Di Pardo a610387fb4 Fix language detected from content not applied if default language is set
Properly handle missing file extensions in `Buffer::setFileName`

Before 6263ce5, the user-preferred default language would apply to
files with no extension, but got overwritten by `L_TEXT` when the
extension was present *but unknown*.

This is why the `buf->_lang == L_TEXT` condition failed *only for
buffers with _no_ extension*.

Fix #11504, close #12286
2022-10-05 00:56:15 +02:00
Don Ho af0bc2e113 Revert "Fix detected language not being applied issue"
This reverts commit 6263ce5dec for fixing the regression.

Fix #12226, fix #12253
2022-10-05 00:06:57 +02:00
xomx 23fc940a27 Enhance N++ EndSession logging
To be able to distinguish:
- different types of Windows system restart/shutdown
- WM_CLOSE messages after previous WM_QUERYENDSESSION

Close #12257
2022-10-04 17:36:49 +02:00
Christian Grasser 20b14b8e4b Updated nlohmann json to 3.11.2
Updated nlohmann json to 3.11.2 from https://github.com/nlohmann/json/releases/download/v3.11.2/json.hpp

Close #12271
2022-10-04 03:46:57 +02:00
Don Ho 4d50692809 Add new API for getting bookmark ID
ref: https://community.notepad-plus-plus.org/topic/23541/notepad-v8-4-6-release/22?_=1664842498334
2022-10-04 03:31:09 +02:00
Don Ho 83ee8f09bf Clean up NPPM_ALLOCATEMARKER API 2022-10-03 01:32:11 +02:00
Don Ho 11884bd97f Fix long filters get truncated in Find in Files feature
Increse filter size from 256 to 512 bytes.

Fix #12041
2022-09-30 16:14:15 +02:00
Chukwudumebi Smarty dfa6c19d87 Make ESC Key abort "Move to Recycle Bin" confirmation prompt
Fix #12117, close #12239
2022-09-29 16:49:53 +02:00
Adrian 4b3ee9c4ea Fix line hiding issues
Fix #12184, fix #8149, close #12250
2022-09-29 15:32:58 +02:00
Don Ho 6750d4dbbc Notepad++ release 8.4.6 2022-09-29 02:57:44 +02:00
SinghRajenM 2d4af44f54 Fix plugin admin UI overlapping
Fix #12229, close #12230
2022-09-25 19:11:13 +02:00
Don Ho 155d75414b Update localization files 2022-09-25 16:27:42 +02:00
Matteo Concato 6d5efab7de Update italian.xml
Close #12215
2022-09-25 04:45:32 +02:00
Edditoria bfc7c302c4 Update localization: Hong Kong Cantonese
As at commit 466053d of this repo.

Close #12217
2022-09-25 04:43:44 +02:00
~GOLEM~ 7df3d73621 Update russian.xml hotfix for v8.4.6
Close #12218
2022-09-25 04:41:30 +02:00
Christian Grasser 0ce3bc08df Fix rebol syntax quote issue
see http://www.rebol.com/r3/docs/guide/code-syntax.html#section-3
setREBOLLexer seems to use wrong, non ASCII single quote, see also https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/lexilla/lexers/LexRebol.cxx#L38
found by clang tidy warning

Close #12221
2022-09-24 19:40:52 +02:00
Don Ho 18971709f5 Change colours for applying to tab more distiguishable
And simplify the code.

Ref: https://community.notepad-plus-plus.org/topic/23513/notepad-v8-4-6-release-candidate-2/3?_=1663982940040

Fix partially #12223
2022-09-24 19:35:08 +02:00
Karlo-F 466053dc99 Update crotian.xml to 8.4.6
Close #12210
2022-09-22 19:49:55 +02:00
xomx 0c121a1725 Update czech.xml to v8.4.6
Ciose #12212
2022-09-22 19:46:05 +02:00
Don Ho 848b412cf7 Fix Change History margin visual glichy under dark mode
Ref: https://community.notepad-plus-plus.org/topic/23510/notepad-v8-4-6-release-candidate/2?_=1663857801779
2022-09-22 19:28:08 +02:00
rddim 5a24dc77f9 Update Bulgarian localization
Close #12118
2022-09-22 01:15:25 +02:00
Matteo Concato 0dd9756740 Update italian.xml to 8.4.6
Close #12197
2022-09-22 01:07:42 +02:00
kubalav 1d07d4717c Update Slovak translation
Close #12123
2022-09-21 20:23:46 +02:00
ArkadiuszMichalski 36bfe59d2a Update polish.xml to 8.4.6
Update polish.xml to 8.4.6 according to the last commit.

Close #12206
2022-09-21 20:21:11 +02:00
Christophe Mateos b48af08e8c Update french.xml
Close #12176
2022-09-21 18:19:19 +02:00
Tmp341 a064015c01 Update Turkish localization
* According to 2258274, 059bca3, 67ab4d5, 7d5516e, 8519003, and 9809e2f commits.

Close #12115
2022-09-21 17:45:17 +02:00
~GOLEM~ d5a89ed922 Update russian.xml v8.4.6
Close #12173
2022-09-21 17:43:02 +02:00
schnurlos 514c9a4629 Update german.xml
Close #12168
2022-09-21 17:40:53 +02:00
Hugo Carvalho 26f80a7d31 Update portuguese translation
Close #12167
2022-09-21 17:38:34 +02:00
yasmise aebab9330e Update japanese.xml to v8.4.6
Close #12162

Add/Update translations for these commits:
* Unify the terms "Fold/unfold" on menu (15e5da6f7d)
* Add setting colour ability for individual tab (42d863dd9f)
* Change to menu name to the "normalized" terms on Internet (aad36afc6b)
* Revamp tab context menu (6322562cf8)
* Complete localization files with missing entries (4cb63ff011)
* Add Change History markers for saved/unsaved/undone modification (fc32fbdcce)
2022-09-21 17:35:47 +02:00
Patriccollu b54481350e Update Corsican translation for Notepad++ 8.4.6
Close #12136
2022-09-21 17:33:40 +02:00
Marcello-mco e0afc7a281 Update brazilian_portuguese.xml
Close #12119
2022-09-21 17:30:25 +02:00
popcorner c3c410506b Update chineseSimplified.xml
Close #12096
2022-09-21 17:26:23 +02:00
ozone10 b29a9ce142 Code enhancement - removing gcc warning
Fix conversion-null, nonnull-compare, dangling-else, address warnings, add initializers.

Fix #12198, close #12199
2022-09-20 16:19:58 +02:00
ozone10 d3b630841e Fix horizontal bar showing issue while resizing document list's height
Take into account vertical scrollbar when resizing document list.

Fix #12191, close #12192
2022-09-20 03:39:03 +02:00
Don Ho 6a801cc0a4 Make Change History margin colour configurable
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12165#issuecomment-1250899679
2022-09-19 19:24:57 +02:00
Christian Grasser ead6fb6b8f Fix gcc linux build and cmake build issues under ubuntu
1. Fix gcc build issues under ubuntu linux due to upper/lower case filename issues.
2. corrected cmake build issues.

Close  #12188
2022-09-19 01:42:49 +02:00
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
Don Ho fc32fbdcce Add Change History markers for saved/unsaved/undone modification
Implement Change History by using the new abilities of Scintilla v5.3.0.

Fix  #12164, close #12165
2022-09-18 23:57:36 +02:00
ozone10 3295cc8d2c Code improvement
Fix warnings ,some conversion-null, format, unused-but-set-variable, class-memaccess.
Add initializer.

Fix #12171, close #12172
2022-09-15 02:07:38 +02:00
Don Ho 4cb63ff011 Complete localization files with missing entries
Fix #12163
2022-09-15 00:07:17 +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
blu3mania 84b8c64944 Fix NPPN_DARKMODECHANGED wrong return value to plugins
Send NPPN_DARKMODECHANGED notification with hwndNpp as hwndFrom, so the documented API info on https://npp-user-manual.org/docs/plugin-communication/#nppn-darkmodechanged is correct. Previously it sends 0 which is of no use to plugin authors.

Fix #12144, close #12160
2022-09-13 02:10:07 +02:00
blu3mania d03b11ebf8 Add dark mode support to ColourPicker/ColourPopup's ChooseColor dialog
Fix #12148, close #12158
2022-09-13 01:15:20 +02:00
Christian Grasser 1646ea6139 Update to scintilla 5.3.0 and lexilla 5.1.9
Close #12045
2022-09-12 19:02:55 +02:00
Don Ho 9455684b42 Renumber Notepad++ marks for preparing Scintilla 5.3.0's integration
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12045#issuecomment-1229195785
2022-09-12 18:46:25 +02:00
Don Ho 6322562cf8 Revamp tab context menu
Add sub-menu in tab context menu so it will be less cluttered.

Fix #12147, close #12150
2022-09-12 17:01:50 +02:00
Don Ho aad36afc6b Change to menu name to the "normalized" terms on Internet
Fix #12146
2022-09-11 23:06:30 +02:00
ozone10 2da5c5b393 Code enhancement
Fix parentheses, misleading-indentation, sign-compare, some conversion-null warnings.

Fix #12139, close #12140
2022-09-11 18:22:51 +02:00
spaxio 42d863dd9f Add setting colour ability for individual tab
Fix #2271, close #12098
2022-09-11 17:07:11 +02:00
ozone10 233c697183 Fix gcc reorder warnings
Fix #12132, close #12133
2022-09-09 18:08:08 +02:00
Don Ho 82055985f3 Add Plugin list repository link and its version in PluginAdmin dialog
And add the localization entries.
2022-09-09 17:56:39 +02:00
Don Ho a5c201f79c Fix Windows 11 OS version not detected in getWindowsVersion
Fix #12100
2022-09-09 11:14:32 +02:00
Don Ho 5a94263bee Add incompatible (unloaded) plugin list in Plugin Admin
The plugins which are not compatible but their newer versions are available are not only on the incompatible list, but also on the Updates list.

Fix #12069, close #12105
2022-09-08 03:23:37 +02:00
SinghRajenM 85d7215d9b Fixes security vulnerability
Fix #12113, close #12114
2022-09-07 20:31:03 +02:00
Don Ho 15e5da6f7d Unify the terms "Fold/unfold" on menu
Rename menu item from "collapse" to "fold".

Fix #12035, close #12094
2022-09-07 18:28:51 +02:00
ozone10 ebe7648ee1 Code improvement, remove unnecessary part
Fix pedantic warnings, add initializers.

Close #12093
2022-09-07 17:49:56 +02:00
Don Ho ea1e9295eb Notepad++ v8.4.5 release 2022-09-07 05:12:29 +02:00
Karlo-F 6d36d9d398 Update croatian.xml to v8.4.5
Close #12076
2022-09-03 03:48:42 +02:00
ozone10 4ddd2d4a46 Remove unneeded subclass
Fix #12086, close #12087
2022-09-03 03:46:37 +02:00
ozone10 95cb564c27 Don't use memset to initialize tTbData
Fix #12084, close #12085
2022-09-03 03:22:46 +02:00
ozone10 39ab226c8c Fix button text in dark mode regression from Wine crash fix
ref: https://community.notepad-plus-plus.org/topic/23432/notepad-v8-4-5-release-candidate/4?_=1662157237187

Close #12083
2022-09-02 23:09:32 +02:00
Hugo Carvalho 1aa93bd85a Update portuguese.xml
Commits: 7d5516e0a8 851900334c 9809e2fc2c
Other minor corrections

Close #12068
2022-08-31 21:05:12 +02:00
Don Ho d6ca0198e1 Revert "Update portuguese.xml"
This reverts commit b96b7ef1be.
2022-08-31 17:42:18 +02:00
Thomas De Rocker 27e489623c Update dutch.xml
Close #12002
2022-08-31 14:51:10 +02:00
yasmise 1df1954eb2 Update japanese.xml
Add translations for these commits:
* Add an option for hiding the + ▼ ✕ from the menu bar (7d5516e0a8)
* Add cycling function hints ability by ALT-UP/DOWN shortcuts (851900334c)
* Add option to turn off selecting text when Field dialog is invoked (9809e2fc2c)

Close #11967
2022-08-31 14:49:07 +02:00
Hugo Carvalho b96b7ef1be Update portuguese.xml
Commit: 7d5516e0a8
Other minor corrections/improvements

Close #12004
2022-08-31 14:47:44 +02:00
Sapziller d937e62eed Update korean.xml to 8.4.5
Close #12008
2022-08-31 04:21:34 +02:00
ArkadiuszMichalski 31f8a57503 Update polish.xml to 8.4.5
Update polish.xml to 8.4.5 according to the last commit.

Close #12061
2022-08-31 02:46:52 +02:00
przemo20 786e377afb Update polish.xml
Close #11998
2022-08-31 01:15:49 +02:00
Patriccollu e866715492 Update Corsican translation for Notepad++ 8.4.5
Close #11930
2022-08-30 23:38:00 +02:00
Edditoria be1c1ae622 Update localization: Hong Kong Cantonese...
As at commit 2e66fe0 of this repo.

Close #11985
2022-08-30 23:34:45 +02:00
~GOLEM~ 1014a5517b Update russian.xml to v8.4.5
Close #11958
2022-08-30 21:30:22 +02:00
xomx 51b05136de Update czech.xml to v8.4.5
Close #12059
2022-08-30 21:27:35 +02:00
rddim 3856f765f9 Update Bulgarian localization
Close #11974
2022-08-30 20:10:10 +02:00
Marcello-mco 5a2db2610e Update brazilian_portuguese.xml
Close #11928
2022-08-30 19:48:53 +02:00
kubalav 4444d2409f Update Slovak localization
Slovak translation for commit 7d5516e

Close #11972
2022-08-30 19:29:33 +02:00
Don Ho 5f60ee70dc Fix a grammar error & add an easter egg
Fix #12056
2022-08-30 19:25:35 +02:00
Ashfaaq18 adcace3380 Improve performance for "Find in Files" and ""Find all in..."
Fix #11878, close #12048
2022-08-29 20:32:31 +02:00
doug1234 9809e2fc2c Add option to turn off selecting text when Field dialog is invoked
Fix #11988, close #11989
2022-08-29 05:26:54 +02:00
Christian Grasser 6a33bf6c4c Update to Scintilla 5.2.4 and Lexilla 5.1.8
Close #12022
2022-08-27 03:49:39 +02:00
Robert Di Pardo 6263ce5dec Fix detected language not being applied issue
Fix detected language not being applied if Default languge is set in Document settings.
Don't override detected file type with default language:

When loading files with no extension from disk, remove the extra condition so the default language setting does not take precedence over the auto-detected file type (if any)

Fix #11504, close #11992
2022-08-27 02:35:26 +02:00
VinsWorldcom 851900334c Add cycling function hints ability by ALT-UP/DOWN shortcuts
Fix #11950, close #12017
2022-08-24 03:04:37 +02:00
Robert Di Pardo 30f027b6a5 Fix Notepad++ crash due to calling NPPM_GETLANGUAGENAME with WPARAM -1
Fixes #12009, close #12011
2022-08-23 03:03:26 +02:00
ozone10 f2c4ecd7e1 Fix crash on Wine
Fix #11941, close #11961
2022-08-14 18:20:22 +02:00
xomx 2e66fe0007 Fix drag n drop documents crash between 2 instances
Fixes uninitialized CmdLineParamsDTO parameters:
uninitialized _udlName could cause crash when drag&drop files between different Notepad++ instances.

Fix #11976, close #11977
2022-08-04 17:32:45 +02:00
Don Ho 70660eb608 Add carret block after option
Fix #11944
2022-07-30 16:28:31 +02:00
Don Ho 7d5516e0a8 Add an option for hiding the + ▼ ✕ from the menu bar
Fix #11945
2022-07-30 02:26:27 +02:00
Don Ho 6077604380 Fix erasing part of content make hanging issue
Deletion of one line where there's folding didn't show the hiden lines in the old version of Scitilla.
It's not anymore the case in the new (current used) version of Scintilla (which manages such situation correctly).
Therefore the redundant notification for the current used version of Scintilla can be removed, and it solves hanging problem.

Fix #10193, close #11946
2022-07-26 15:43:37 +02:00
Don Ho 7a64fd5161 Enhance very long line's performance
When document contains a very long line and the wrapped feature is ON, switch off then switch back to this document could take times.
This commit reduce the delay largely while switching into the document with very long line.

Fix #11942
2022-07-25 05:35:30 +02:00
Don Ho 13350a3d29 Fix minor error 2022-07-24 05:34:26 +02:00
Don Ho f85a9c45e9 Add reduce mode in Find/Replace dialog
Add a button on the bottom-right corner of Find/Replace dialog to switch between collapsed & complete mode.

Fix #11780, close #11937
2022-07-23 01:07:47 +02:00
ozone10 bbf3adb9bb Fix dark mode visual glichy in explorer panel under Windows 8.1
Add checks for 'DarkMode_Explorer' theme style

Fix #11898, close #11913
2022-07-22 04:07:48 +02:00
Filipe DA SILVA e90284ea4b Fix various typo in French localization file
Close #11924
2022-07-16 18:10:51 +02:00
Don Ho 08acfe99b8 Notepad++ v8.4.4 - Happy Users' Edition
Now Notepad++ happy users are also allowed to get a refund!
2022-07-15 18:13:09 +02:00
ArkadiuszMichalski b77faf77af Update polish.xml to 8.4.4
Update polish.xml to 8.4.4 according to the last commit.

Close #11922
2022-07-15 16:24:39 +02:00
~GOLEM~ 0379a5deb5 Update russian.xml to v8.4.4
- fix wrongs description

Close #11921
2022-07-15 16:22:41 +02:00
Hugo Carvalho dcf8b790a1 Update portuguese.xml
For commit: 059bca3315

Close #11888
2022-07-14 20:51:13 +02:00
kubalav 49f6ee389c Update Slovak translation
Close #11892
2022-07-14 16:35:48 +02:00
rddim 1834662ef9 Update Bulgarian localization
Close #11909
2022-07-14 16:33:24 +02:00
~GOLEM~ a44b9b6cf9 Update russian.xml
Close #11914
2022-07-14 16:30:08 +02:00
yasmise bf6294a7ee Update japanese.xml
Add translation for this commit:
* Add some shortcuts in Styler Configurator to preferences dialog (67ab4d5527)

Close #11917
2022-07-14 16:28:10 +02:00
schnurlos 68e35dadf6 Update german.xml
Following 67ab4d5527

Close #11918
2022-07-14 16:26:39 +02:00
Don Ho 67ab4d5527 Add some shortcuts in Styler Configurator to preferences dialog
Shortcuts to Preferences dialog are added only for the following styles (Global Styles):

1.  "Current line background colour"
2.  "Caret colour"
3.  "Edge colour"
4.  "Line number margin"
5.  "Bookmark margin"
6.  "Fold"
7.  "Fold active"
8.  "Fold margin"
9.  "Smart Highlighting"
10. "Tags match highlighting"
11. "Tags attribute"
12. "Mark Style 1"
13. "Mark Style 2"
14. "Mark Style 3"
15. "Mark Style 4"
16. "Mark Style 5"
17. "URL hovered"
18. "EOL custom color"

Fix #11890, close #11904
2022-07-12 18:57:20 +02:00
Don Ho 57bb83846b Add "Notepad++ Online User Manual" into the shortcut mapper 2022-07-11 03:36:45 +02:00
Don Ho e6fe568bbf Fix crash during Search result
Fix #11883, close #11889
2022-07-09 18:37:30 +02:00
Don Ho c7c5db7c51 Notepad++ v8.4.3 - Unhappy Users' Edition 2022-07-08 04:26:57 +02:00
György Bata c284534e08 Hungarian translation update for 8.4.3
Close #11876
2022-07-08 02:05:55 +02:00
ArkadiuszMichalski bcb1035948 Update polish.xml to 8.4.3
Close #11880

Update polish.xml to 8.4.3 according to the last commit.
2022-07-08 02:03:36 +02:00
Don Ho c63169eabc Restore Search result folding's old behaviour
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11814#issuecomment-1175359785
2022-07-06 01:53:17 +02:00
xomx 5bab2b5746 Update czech.xml for v8.4.3
Added only the id 6906 - "Search Result window: show only one entry per found line".

Close #11871
2022-07-05 19:48:13 +02:00
Don Ho 0b5785cbec Fix a fording perf issue in Search result windows
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11814#issuecomment-1174732649

Fix #11814
2022-07-05 19:43:16 +02:00
rddim 2a7552c882 Update Bulgarian localization
Close #11850
2022-07-04 05:00:33 +02:00
Karlo-F 09df963a1a Update croatian.xml
Close #11859
2022-07-04 04:57:47 +02:00
Don Ho de75f56676 Processing WM_CLOSE with the right return value
Ref:
https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-close
2022-07-04 04:52:06 +02:00
Don Ho 5c6fbd3310 Fix "Style Configurator..." command makes Notepad++ crash
If "stylers.xml" is not loaded, launching "Style Configurator..." command will make Notepad++ crash.
This commit fix this issue.

Fix #11812
2022-07-02 17:19:17 +02:00
Edditoria 4a32234e5f Update localization: Hong Kong Cantonese
As at commit ed4bb1a of this repo.
Also follow-up the PR #11802

Close #11852
2022-06-30 23:25:10 +02:00
kubalav 965f812234 Update Slovak translation to 8.4.3
Close #11864
2022-06-30 18:58:33 +02:00
popcorner 9781b34bc0 Update chineseSimplified.xml
Close #11858
2022-06-30 18:00:45 +02:00
Christophe Mateos 1bd22fae7c Update french.xml
Close #11849
2022-06-30 17:56:04 +02:00
Don Ho 059bca3315 Fix 1 entry per line in Search result UTF8 marked wronly issue
Fix CJK, Hebrew, Arabic and other Languages in UTF8 marked wronly issue in in Search result while "1 entry per line" option enabled.
The option in question can be enabled in RTL mode now with this commit.
2022-06-30 17:29:39 +02:00
Don Ho 980cbcccc6 Fix search results are wrongly positioned in CJK languages
Fix  #11855
2022-06-30 03:10:07 +02:00
Christian Grasser ed4bb1a93e Update lexilla to 5.1.7 & Scintilla to 5.2.3
Use new interfaces SCI_FORMATRANGEFULL, SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL from scintilla 5.2.3

Close #11734
2022-06-28 16:19:19 +02:00
Artem Polivanchuk 3a2ef5cff9 Update ukrainian.xml
Update Ukrainian translation based on version 8.4.1

Close #11845
2022-06-28 01:47:50 +02:00
xomx 355e06591f Update czech.xml to v 8.4.3
Close #11827
2022-06-28 01:45:23 +02:00
Tmp341 5b1c2c1949 Update Turkish localization
* According to c32da95, ad8b179, e8817ea, d3b026b, 33ab652, d65967d and 79e7667 commits.

Close #11821
2022-06-28 01:43:56 +02:00
Edditoria ed545cb24c Update localization: Hong Kong Cantonese...
As at commit d1347d5 of this repo.
This commit does not bump version.

Close #11802
2022-06-28 01:40:25 +02:00
Karlo-F 7ec8aa285c Update croatian.xml for 8.4.3
Close #11799
2022-06-28 01:39:14 +02:00
Patriccollu 27d57e8caf Update Corsican translation for Notepad++ 8.4.3
Close #11788
2022-06-28 01:38:03 +02:00
~GOLEM~ 226a41e792 Update russian.xml for v8.4.3
Close #11784
2022-06-28 01:36:35 +02:00
yasmise e6dab70ec3 update japanese.xml
Add translations for these commits:
* Use edge colors in dark mode for listbox border (d65967deab)
* Make EOL (CRLF) display customizable (79e766755d)
* Update localization files (2258274780)

Close #11775
2022-06-28 01:34:10 +02:00
rddim f50ddf8297 Update Bulgarian localization
Close #11772
2022-06-28 01:32:05 +02:00
Hugo Carvalho 4a8d7b11dd Update portuguese.xml
Commit: d65967deab

Close #11770
2022-06-28 00:54:12 +02:00
kubalav 2d1874de40 Update Slovak translation to 8.4.2
Close #11768
2022-06-28 00:49:21 +02:00
Christophe Mateos 0d6958a5ab Update french.xml
From June the 5th commits

Close #11769
2022-06-28 00:47:18 +02:00
Markus Bodensee 6643e1a174 Update german localisation
Add translation for item 6246 (current level folding/unfolding).
Add/update translations for dark mode items.
Synchronise translation of "commands" to "Befehle" to have same word in all places.

Close #11738
2022-06-28 00:44:54 +02:00
popcorner 9de65fb6f3 Update chineseSimplified.xml
Close #11737
2022-06-28 00:41:37 +02:00
Thomas De Rocker 9cc7bddd2e Update dutch.xml
Close #11655
2022-06-28 00:40:16 +02:00
Don Ho e8ed195aac Exclude an unstable version of one plugin from the installer
Ref:
https://community.notepad-plus-plus.org/topic/23100/notepad-8-4-2-64-bit-suddenly-closes-for-no-reason
2022-06-27 22:23:30 +02:00
xomx 7917d0d974 Fix "CMD Here" command open Explorer issue
Better specify the cmdline interpreter:
This solves a possible confusion in between the cmdline interpreter and the possible folder named "cmd"' for the ShellExecute WINAPI.

Fix #11818, close #11833
2022-06-27 17:22:09 +02:00
xomx 9d69db9b15 Fix a crash issue due to opening an empty .NFO file
There was an infinite recursion for such empty files, when the default setting for new files was UTF8.

Fixes #11820, close #11824
2022-06-27 06:01:33 +02:00
Don Ho 2258274780 Update localization files 2022-06-26 20:01:22 +02:00
Don Ho 08128ee36a Add an option allows to show only 1 entry per found line in search result
Also mark several found occurrences in the same entry - user can click on the marked occurrence to jump among found result in the found line.
This option is enabled by default. It can be disabled in "Searching" section of Preferences dialog.

It's an alternative implementation of #11705

Fix #2481, fix #1499, fix #5547, fix #2987, fix #4525, fix #3224, close #11808
2022-06-26 18:41:05 +02:00
Don Ho 3b04793097 Fix Find in files performance regression since updating Scintilla 5
It's due to the folding the previous result before the begin of search.
For the unknown reason there's performance issue if folding action is at this place for Scintilla 5.

Fix #11814
2022-06-18 18:10:04 +02:00
dail8859 f1ed4de78d Add NPPM_CREATELEXER message for plugins to instantiate lexers
Fix #11789, close #11790
2022-06-14 22:55:27 +02:00
Don Ho f69a9093f9 Fix x64 build error 2022-06-14 15:39:10 +02:00
Don Ho d0b2a9ff9d Skip save all warning dialg if only current editing file is dirty
Here is the behaviour of this commit:
1. If there's only one file dirty, and it's current editing one, then SaveAll dialog won't display.
2. If there's only one file dirty, and it's NOT current editing one, then SaveAll dialog WILL display.
3. If there's 1 editing file which is dirty, and its clone (dirty also) is on the other view, then SaveAll dialog WILL display.

Fix #10995
2022-06-14 02:52:52 +02:00
Don Ho d1347d5014 Use "Max Speed" compiling optimization instead of "Full" compiling optimization
Use \Os instead of \Ox and fix the incoherent settings for the program optimization.

Fix #11778
2022-06-13 19:55:26 +02:00
Don Ho 2d7b2093a1 Fix font definition for languages regression in Style Configurator
Defining font for languages is no more possible in Style Configurator.
This regression is due to commit 1567847 (PR #10483).

Fix #11786, close #11787
2022-06-13 18:41:17 +02:00
Don Ho 79e766755d Make EOL (CRLF) display customizable
Fix #11413, close #11773
2022-06-12 19:41:09 +02:00
ozone10 f517c6c053 Enhance dark mode support for plugins
- Add support for 3 state checkbox buttons.
- Add support for plugin custom draw for listview subitems.
_ Apply correct colors on listbox.

Enhancement to #11711.
Based on information from https://community.notepad-plus-plus.org/topic/23080/impact-analysis-of-generic-darkmode-rendering-of-plugin-dock-panels-from-pr-11711.

Close #11767
2022-06-08 02:29:46 +02:00
Don Ho 82b78ff7b8 Fix error from commit b6efff4 2022-06-07 01:23:32 +02:00
Don Ho b6efff4157 Fix Selected text changes color issue when editor window loses focus
Fix #11743
2022-06-07 01:08:20 +02:00
ozone10 d65967deab Use edge colors in dark mode for listbox border
1. use edge colors in darkmode for edit control border.
2. tweaks to properly drawn listbox scrollbar, when using custom border.
3. disabled edge color to dark mode preference dialog.
4. use disabled edge color for disabled combobox.

Fix #11207, fix #11376, close #11756
2022-06-06 20:25:17 +02:00
ozone10 2c0134ef5a Add plus and arrow (drop down list of opened files) buttons on menu bar
1. Add plus and arrow buttons on menu bar beside of 'X' button:
   - plus button: for adding a new document
   - arrow button: display a drop down list for all opened files to offer users quick access of switching file
2. Enhance the most recent opened file list: Increase maximun file number to 30.

Fix #11229, close #11757
2022-06-05 15:44:05 +02:00
Don Ho 33ab652395 Make dark mode support for plugin by default
And remove the GUI option to disable this feature.
(based on d3b026bfeb)
2022-06-05 03:51:34 +02:00
ozone10 d3b026bfeb Add dark mode support for plugins
Support dark mode for plugins with docking GUI.

Fix #11710, close #11711
2022-06-05 03:39:28 +02:00
Shridhar Kumar b204be9012 Fix a small regression in DebugInfo dialog
Remove "$COMMAND_LINE_PLACEHOLDER$ from the copied DebugInfo text.

Fix #11752, close #11753
2022-06-04 18:14:57 +02:00
Don Ho a02a254ea1 Notepad++ 8.4.2 release 2022-06-03 18:28:42 +02:00
Don Ho 2d47c8d340 Fix an order error in toolbarIcons.xml 2022-06-03 04:27:45 +02:00
Don Ho b5479bb9b0 Fix Plugin Admin not showing on menu due to certificate checking problem
* Fix certificate checking problem: the old certificate has been expired. In v8.4.2 Notepad++ & its components are signed by the new certificate. The certificate is checked before launching WinGUp (updater) to compare with the certificate key value stored in Notepad++. Updating certificate key value fixes the problem of WinUp validation, so Plugin Admin can be shown on the menu.
* Fix a typo.

Fix #11742
2022-05-29 17:23:31 +02:00
Edditoria 5354f61f8e Update localization: Hong Kong Cantonese...
As at commit a630b63 of this repo.

Close #11708
2022-05-27 14:48:09 +02:00
ArkadiuszMichalski bcebfe15ea Update polish.xml to 8.4.2
Update polish.xml to 8.4.2 according to the last commit.

Close #11731
2022-05-27 04:24:24 +02:00
rddim 6613a6da15 Update Bulgarian localization
Close #11675
2022-05-27 04:21:43 +02:00
A. Regnander dc0e5740c5 Update swedish.xml
Close #11707
2022-05-27 04:19:02 +02:00
Don Ho fa3ba7e389 Fix customizing toolbar icon messed with dark mode
Ref:
d85b9a7464 (commitcomment-74498214)
2022-05-27 04:06:11 +02:00
xomx b25f37646d Update czech.xml to v8.4.2
Close #11727
2022-05-26 15:37:14 +02:00
Mathias Berchtold 4487171c3f Add gui4cli keywords and fix style IDs in stylers.model.xml
Close #11712
2022-05-26 03:15:26 +02:00
Patriccollu c55026cd45 Update Corsican translation for Notepad++ 8.4.2
Close #11722
2022-05-26 02:48:59 +02:00
~GOLEM~ 91fdc8b1d6 Update russian.xml to v8.4.2
Close #11689
2022-05-26 02:47:25 +02:00
yasmise 44e7f283ee update japanese.xml to v8.4.2
Add translations for these commit:
* Add edge highlight color in customized dark colors of Preferences dialog (ad8b1791b4)
* Update localization files (e8817eacd0)

Close #11686
2022-05-26 02:45:50 +02:00
kubalav d491bb431a Update Slovak translation
Close #11672
2022-05-26 02:44:54 +02:00
Hugo Carvalho 0b41f4f5c8 Update portuguese.xml
Close #11668
2022-05-26 02:43:40 +02:00
Edoardo Lolletti 3b208743bd Display the accurate OS version in DebugInfo (for Windows build 21H1 and greater)
Query for DisplayVersion as well instead of using only ReleaseId.

Windows deprecated the ReleaseID registry entry (now it is no longer updated and on newer Windows 10/11 builds will remain the same) and moved to use DisplayVersion.
Attempt now to first query DisplayVersion and in case that is missing, fall back to ReleaseID for older Windows 10 builds.

Close #11714
2022-05-26 02:29:53 +02:00
Don Ho ddbb75f0f7 Make Plugin Admin exception message more clear 2022-05-25 19:27:18 +02:00
Robert Di Pardo d6595ad836 Make Plugins Admin work with MinGW in debug mode binary
Convert path to nppPluginList.json with ::wstring2string().

Unlike MSVC [1], MinGW GCC doesn't provide file stream constructors
for wchar_t* paths [2].

 ---
 [1] https://stackoverflow.com/a/822032
 [2] https://sourceforge.net/p/mingw-w64/mailman/message/34249829

Fixes #11687, close #11701
2022-05-25 18:37:21 +02:00
Don Ho e8817eacd0 Update localization files 2022-05-25 03:57:32 +02:00
Christophe Mateos ee707ca67e Update french.xml
Close #11677
2022-05-25 02:34:19 +02:00
Don Ho 96590a6f94 Fix win32 build due to the previous commit 2022-05-24 19:00:52 +02:00
Don Ho d85b9a7464 Make toolbar icons customizale
This is the enhancement of a long time forgotten feature.

To override the current toolbar icons, we needs 2 things: "toolbarIcons.xml" file and one icons set.
Here are the instructions to customize toolbar icons:

1. Put the file "toolbarIcons.xml" (Note 1) in the same folder of "config.xml" file (Note 2).
2. Create a new folder "toolbarIcons" in the folder where you put "toolbarIcons.xml" file.
3. Edit the file "toolbarIcons.xml": put the icon set name you want in "icoFolderName" attribute (Note 3).
   for example: `<ToolBarIcons icoFolderName="myAwesomeIcons" />`
4. Go into "toolbarIcons" folder and create a new folder with the exact name of the icon set name you provided in "icoFolderName".
5. Put all your customized icons into "[toolbarIcons.xml's folder]\toolbarIcons\myAwesomeIcons\".
6. Now it's the magic moment: Relaunch Notepad++ and you'll see your icon set instead of the default icons.

Note:
1. The content of "toolbarIcons.xml" is following:
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
    <ToolBarIcons icoFolderName="nppLagacyIcons" />
</NotepadPlus>
```
2. If you find the file "doLocalConf.xml" in the Notepad++ installed directory, you will find the "config.xml" in Notepad++ installed directory. Otherwise it should be in "%APPDATA%\Notepad++\" directory.
3. if "icoFolderName" value is an emptty string, the path of icons will be in "[toolbarIcons.xml's folder]\toolbarIcons\default\" folder.

Each replacing icon (45 icons) has the fixed and specific name:

| index |  Normal icon             |  Disabled icon                  |
|-------|--------------------------|---------------------------------|
|1      |  new.ico                 |                                 |
|2      |  open.ico                |                                 |
|3      |  save.ico                |  save_disabled.ico              |
|4      |  save-all.ico            |  save-all_disabled.ico          |
|5      |  close.ico               |                                 |
|6      |  close-all.ico           |                                 |
|7      |  print.ico               |                                 |
|8      |  cut.ico                 |  cut_disabled.ico               |
|9      |  copy.ico                |  copy_disabled.ico              |
|10     |  paste.ico               |  paste_disabled.ico             |
|11     |  undo.ico                |  undo_disabled.ico              |
|12     |  redo.ico                |  redo_disabled.ico              |
|13     |  find.ico                |                                 |
|14     |  replace.ico             |                                 |
|15     |  zoom-in.ico             |                                 |
|16     |  zoom-out.ico            |                                 |
|17     |  sync-vertical.ico       |                                 |
|18     |  sync-horizontal.ico     |                                 |
|19     |  word-wrap.ico           |                                 |
|20     |  all-chars.ico           |                                 |
|21     |  indent-guide.ico        |                                 |
|22     |  udl-dlg.ico             |                                 |
|23     |  doc-map.ico             |                                 |
|24     |  doc-list.ico            |                                 |
|25     |  function-list.ico       |                                 |
|26     |  folder-as-workspace.ico |                                 |
|27     |  monitoring.ico          |  monitoring_disabled.ico        |
|28     |  record.ico              |  record_disabled.ico            |
|29     |  stop-record.ico         |  stop-record_disabled.ico       |
|30     |  playback.ico            |  playback_disabled.ico          |
|31     |  playback-multiple.ico   |  playback-multiple_disabled.ico |
|32     |  save-macro.ico          |  save-macro_disabled.ico        |

It's not necessary to have all complete set (45 icons). The absent icons won't just be substituted.

Fix #9913
2022-05-24 17:57:38 +02:00
Don Ho 05dae4a720 Make fold/unfold current line commads togglable
Add an option "Make current line folding/unfolding commands togglable" in Editing section of Preference dialog to make both Collapse/Uncollapse Current level commands togglable.

Fix #11529, fix #9196, close 11699
2022-05-21 02:23:03 +02:00
Don Ho e701c208a6 Fix regression in Alt icons settings
The regression is Caused by 6729739.

Fix #11703
2022-05-20 16:20:59 +02:00
Don Ho 3750cf8fa3 Fix horizontal scrolling with scroll wheel on Logitech MX issue
Fix #10490, close #11700
2022-05-20 15:05:13 +02:00
Shridhar Kumar b3a9ec5dfe Fix a small regression of DebugInfo
Select the entire DebugInfo text, with the command line params inserted.

This is a minor fix for an issue resulting from the last-minute changes in commit 0f8d572 (Add command line argument for plugin, a related notification and an API).

Close #11697
2022-05-20 02:24:18 +02:00
Don Ho 10f48e36ad Fix typos 2022-05-19 19:32:35 +02:00
ozone10 a577564699 Make dark mode groupbox edge to use edge color
Make also combobox border round on Windows 11 to match style, and fix visual glitch with transparency groupbox in Find dialog.

Fix #11693, close #11694
2022-05-18 20:12:19 +02:00
Don Ho c9b177bb9e Fix a memory leak in "Copy Binary Content" comment
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11671#issuecomment-1128975960
2022-05-17 18:08:40 +02:00
Don Ho 8a37bed448 Make file description shorter to suit the context menu
Fix #11688
2022-05-17 17:52:08 +02:00
Shridhar Kumar df438ea944 Fix crash on "Copy Binary Content" command without selection on edit zone
Fix also an issue that the word where the cursor is on in the edit zone is selected after running ABOUT box, that makes all the occurence of same word highlighted in the edit zone.

Fix #11639, fix 11671, close #11673
2022-05-17 17:09:29 +02:00
ozone10 def3aba4e6 Fix dark mode tab left-right control for floating docking containers
Fix #11683, close #11684
2022-05-17 14:51:58 +02:00
ozone10 c72dac69c5 Add dark mode support on shortcut mapper entirely
Fix #11530, close #11682
2022-05-17 04:44:43 +02:00
Shridhar Kumar 2aa85006d2 Fix crashes by re-invoking with command line argument "-udl"
Fix crashes when re-invoked with -udl command line parameter with more than 7 characters as its value:
Serialize _udlName from generic_string to wchar_t _udlName[MAX_PATH].

Fix #11633, close #11681
2022-05-17 04:29:35 +02:00
ozone10 a630b63c9a Add encoding context menu via right/double click on encoding display zone of status bar
Fix #9998, fix #400, fix #756, close #11678
2022-05-16 14:40:40 +02:00
Shridhar Kumar 0f8d5724af Add command line argument for plugin, a related notification and an API
1. Add a cmd argument for plugin: -pluginMessage="SPECIFIC_PLUGIN_MESSQGE" where SPECIFIC_PLUGIN_MESSQGE is a string which can contain white space. For example: -pluginMessage="arg1 arg2 arg3".
2. NPPN_CMDLINEPLUGINMSG notification: which will be triggered by -pluginMessage and plugins will get their specific message "arg1 arg2 arg3" via idFrom field:
   //scnNotification->nmhdr.code = NPPN_CMDLINEPLUGINMSG;
   //scnNotification->nmhdr.hwndFrom = hwndNpp;
   //scnNotification->nmhdr.idFrom = pluginMessage; //where pluginMessage is pointer of type wchar_t
3. Add NPPM_GETCURRENTCMDLINE API for getting the latest command line.
4. Update command line dynamically in Debug info dialog.

Fix #11576, close #11589
2022-05-16 04:54:31 +02:00
ozone10 67297397d4 Make Alternate Icons behaviour in dark mode consistent
The usage of alternate icons in dark mode can be remember now though the sessions.

Fix #10159, close #11674
2022-05-16 01:48:04 +02:00
Robert Di Pardo 77a53ebd2f Show installed plugin versions in Debug Info dialog
Fix #11284, close #11662
2022-05-16 01:19:46 +02:00
Karlo-F 74395977bb Improve "Deep Black" theme
* Corrected description
* Added new lines for PHP, INI, CSS and GlobalStyles
* Darkened YAML (it wasn't dark)
* Minor corrections

Close #11608
2022-05-15 04:11:30 +02:00
ozone10 ad8b1791b4 Add edge highlight color in customized dark colors of Preferences dialog
Fix #11642, close #11641
2022-05-14 17:52:28 +02:00
Don Ho 62e916edec Notepad++ v8.4.1 release
Disclaimer: these binaries were compiled at 13,500 metres altitude!
2022-05-11 14:41:08 +02:00
Edditoria a1eed77953 Update localization: Hong Kong Cantonese...
As at commit ef9e836 of this repo.
Also bump version to v8.4.1 in advance.

Close #11645
2022-05-08 23:09:35 +02:00
Don Ho 6e83e6810a Restore auto-completion & calltip default fg/bg colors (no theme)
Fix #11637
2022-05-08 15:20:21 +02:00
Don Ho 82c03424bb Fix a typo and update version number 2022-05-08 14:01:48 +02:00
Don Ho ef609c896f Add a new format argument/option "ADD_ZERO_PADDING" to NPPM_GETNPPVERSION
Fix #11535
2022-05-08 13:58:45 +02:00
Karlo-F bdf60d80ff Update croatian.xml
Update Croatian localization to v8.4.1

Close #11625
2022-05-05 22:02:48 +02:00
Iñigo Zendegi fcd88d73bb Update basque.xml
Close #11624
2022-05-05 21:55:50 +02:00
~GOLEM~ 8d1a294bf0 Update russian.xml v8.4.1
Close #11621
2022-05-05 21:52:43 +02:00
yasmise 7b327c583f update japanese.xml to v8.4.1
Add a translation for this commit:
* Update localization files according to d3e77c0 (c32da953cf)

Close #11615
2022-05-05 21:47:22 +02:00
rddim 3050766379 Update Bulgarian localization
Close #11614
2022-05-05 21:44:39 +02:00
schnurlos 5d55e9bdde Update german.xml to v8.4.1
Following c32da953cf

Close #11612
2022-05-05 21:39:33 +02:00
Hugo Carvalho bc05457133 Update portuguese.xml
For commit: c32da953cf and other minor corrections

Close #11640
2022-05-05 21:37:06 +02:00
xomx b6876663b9 Update czech.xml to v8.4.1
Close #11605
2022-05-05 21:32:41 +02:00
kubalav b8b5a9bc5d Update Slovak translation to 8.4
Close #11604
2022-05-05 14:06:19 +02:00
anishbl feeda47995 Update tamil.xml
Changes:
     1) Removal of redundant lines (redundancy as defined by absence from the English version, I have not gone on to check the code for where each term is used, refer to Issue https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11561#issue-1210847469)
     2) Addition of lines which are found in the English version but were absent in the Tamil
     3) Spelling error rectifications (eg: "கீல்" is an erroneous form of கீழ்)
     4) Retention of English words for certain terms best left untranslated (eg: Macro; பெருநிரல் _does_ convey the literal meaning, but would be extremely confusing, as such usage is specialized and not directly connected to the literal meaning. Macro here performs much like a proper noun, an untranslatable, and I opine that translating that would be quite similar to translating Notepad++, Windows etc. In other cases, perceived rarity of the term's usage, potential confusion, and lack of sufficient systematicity in the usage of programming terms in Tamil have also been reasons)
     5) Rewording certain terms as they seem of a fringe usage, and replacing them with commoner alternatives (eg: படி எடு for Copy has been replaced by நகலெடு, whose use is fairly universal nowadays, in OSs, apps, websites, etc. which display in Tamil.  It must be noted that the previous version seems to be nearly ten years old, and probably the usage was more fluid and non-standard back then.)
     6) Removal of lines that are plainly copied out from the English version untranslated, and cannot be translated
     7) Addition of &amp;/alt codes (I'm not sure exactly what they're called) as in English

Unresolved Problem Points:
     1) The alt codes have been presented to a user using the Latin/English keyboard.  (eg: for "&amp;File", "கோப்பு (&amp;F)" has been provided instead of the equally viable "&amp;கோப்பு") This, although in keeping with the previous version, may present Tamil users an inconsistent display, what with the numerous bracketed and seemingly random English letters beside Tamil text, and inconvenience users of Tamil keyboard(s).
The example of other Indian languages may be used to argue for "&amp;கோப்பு", while the example of Chinese, Japanese and Korean may be used to argue otherwise (it must be noted, though, that Tamil and Indian languages have their own keyboards as well as phonetic typing from English, whereas Chinese et.al. are typed, as far as I am aware, solely using the phonetic English method, and therefore the first argument may not stand)
To be very honest, I almost set out removing all the old bracketed-English-letter style stuff and creating them based off Tamil letters, but chickened out seeing the utter scale.  I also am not sure how this would be welcomed by users, since they may now be quite habituated to using the English letters, and tampering with the functionality of the application (to a tiny extent, admittedly) is _not_ what I thought I was taking into my hands when I started doing this
     2) Most of the popup messages have been left untranslated, coming to more than hundred lines (I'm sorry, I'm not doing any more now, maybe later, or hopefully someone else who uses N++ in Tamil/knows Tamil can step up and help; I'm sure my version of even those parts that I _have_ edited is not up to snuff either)
     3) There are some technical vocabulary issues. For instance, there is a general confusion between அழி, நீக்கு and அகற்று for delete and remove.  I have chosen அகற்று for remove, and kept the other two both for delete, due to how often both were used. But I think there could be a better solution, and a more systematic one.  This is also, incidentally, just the tip of the iceberg.
     4) I was also unsure about where to draw the line between translating an English word to Tamil and retaining the English word.  In several cases, I used my familiarity with the words in a technical context to make such a decision.  Since I also relied quite a bit on online dictionaries, and cross checked them across websites to be sure, I cannot vouch for all of them, and probably quite a few have been excessively Tamilised, or retained in English even when a patently viable and common alternative exists. I hope some others can account for those

Close #11579
2022-05-05 14:02:16 +02:00
Patriccollu d84be6c2fe Update Corsican translation for Notepad++ 8.4.1
Close #11593
2022-05-05 13:57:48 +02:00
Don Ho 77d62496df Update localization files 2022-05-05 13:50:49 +02:00
mere-human ccbf08dc98 CustomFileDialog: Focus the file name when file already exists
Fix #11630, close 11631
2022-05-05 01:20:07 +02:00
ozone10 ef9e836903 Add border to dark mode tabs
Minor tweaks to autocomplete, to make top white rectangle dark on resize.

Fix #11622, close #11623
2022-05-02 14:24:19 +02:00
Shridhar Kumar 664d46084b Override "current line indicator" style in "Search results"
Fix #11596, close #11598
2022-05-02 01:45:04 +02:00
Shridhar Kumar b57254aece Minor cosmetic touchups to Preferences & Style Configurator UIs
Preferences Dialog - MultiInstance UI:
1. Increased the height of the 1st groupbox by 3 units.
2. Shifted the controls inside it by 4 units.
3. Reduced the height of the 2nd groupbox by 3 units.
4. Shifted the groupbox top and the checkbox only down by 3 units.

Style Configurator Dialog:
5. Added 'BS_CENTER' modifier to "Font Style" & "Colour Style" groupboxes.

Fix #11590, close #11591
2022-04-30 01:01:41 +02:00
Don Ho 9cc01de97c Fix "Reload from disk" loosing syntax highlighting regression
In Scintilla4 reloaded document keeps its syntax highlighting without re-applying the lexer for its syntax highlighting.
It seems the behaviour has been changed in Scintilla5. Hence this workaround to force to apply syntax highlighting after reloading.

Fix #11606, close #11610
2022-04-29 19:44:54 +02:00
Rajendra Singh 77fcedbd19 Fix "Find progress bar" UI clipping
Close #11572
2022-04-29 16:25:48 +02:00
ozone10 dfc9fb6f3b Highlight dark mode combobox border on focus
Fix #11574, close #11575
2022-04-29 13:50:27 +02:00
Robert Di Pardo 2fbac354ed Fix HTML syntax highlighting in PHP files regression
Restore HTML syntax highlighting in PHP files.

Fix #11585, fix #11602, close #11588
2022-04-29 04:08:13 +02:00
Christian Grasser 100d45f7cf Update Scintilla from 5.2.1 to 5.2.2 and Lexilla from 5.1.5 to 5.1.6
Close #11537
2022-04-28 23:27:54 +02:00
Don Ho 3b0d5242ac Fix unfocused selected text background color changed problem
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11419#issuecomment-1094362796

Fix #11595, close #11601
2022-04-28 02:39:11 +02:00
mere-human c94d50842e Fix file name field highlighted while focus is on type combobox in Save As dialog
Fix #11517, close #11540
2022-04-28 01:40:47 +02:00
ozone10 87f4249d6b Add support for dark tab updown control
Fix #10054, close #11554
2022-04-26 19:30:52 +02:00
Leonardo Silva 1eb5b10e41 Add DarkMode usage detection support for plugins
Add APIs: 2 new messages NPPM_ISDARKMODEENABLED & NPPM_GETDARKMODECOLORS, and 1 new notification NPPN_DARKMODECHANGED.

Fixed also a bug in dark mode for PushLike CheckBoxes.

Fix #11546, close #11547
2022-04-26 19:27:35 +02:00
Ibrahim Kosgi 1dffb05e0a Add file monitoring command line argument [-monitor]
Fix #10562, close #11539
2022-04-26 19:17:25 +02:00
Don Ho c32da953cf Update localization files
according to d3e77c0e6f
2022-04-26 18:52:30 +02:00
Shridhar Kumar d3e77c0e6f Add "Framed current line" option beside of "Highlight current line background"
The related GUI in Preferences dialog has been organized in the adapted way for the new option.

Fix #11501, close #11534
2022-04-26 16:59:21 +02:00
Ian O'Neill c40c90e8a4 Make the dark mode color scheme palatable for ini, json & props files
Fix #11544, close #11555
2022-04-26 16:01:43 +02:00
CennoxX 0505bda865 Sort "Search result" to the bottom in language list of Style Configurator
Exclude "Search Results" from the sort and placing it at the bottom as it was before:
2474cbeafd

Fix #11337, close #11557
2022-04-26 15:38:18 +02:00
Don Ho f6ade2c915 Notepad++ 8.4 release: Keep Standing up for Ukraine 2022-04-26 00:46:56 +02:00
ArkadiuszMichalski 292c057f65 Update polish.xml
Close #11553
2022-04-20 02:41:56 +02:00
Artem Polivanchuk cbd17386e2 Update ukrainian.xml
Close #11549
2022-04-20 02:39:56 +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
Don Ho 5d5d2025af Fix HTML document syntax highlighting not working regression
Fix https://community.notepad-plus-plus.org/topic/22855/notepad-v8-4-release-candidate/5?_=1650282276299
2022-04-19 16:24:42 +02:00
danny 054e3d0ae1 Installer: Remember the chosen language in the previous installation
Set/read default installer language to/from registry.

Fix #10582, close #11492
2022-04-19 15:55:45 +02:00
Edditoria 0b54cb4daa Update localization: Hong Kong Cantonese...
As at commit 3afbf0c of this repo.
Also bump version to v8.3.4 in advance.

Close #11527
2022-04-14 03:12:31 +02:00
yasmise 4b6889b855 update japanese.xml
Add translations for these commits:
* Add default sorting ability in Function list (64bfa72bd0)
* Add virtual space ability (88ed851478)

Close #11512
2022-04-14 03:10:33 +02:00
Karlo-F 20644933a0 Update croatian.xml
Close #11509
2022-04-14 03:08:11 +02:00
Tmp341 23de2e68c9 Update Turkish localization
* According to 1c8b867, ee76513, 64bfa72 and 88ed851 commits.

Close #11507
2022-04-13 23:37:00 +02:00
rddim ae75245a75 Update Bulgarian localization
Close #11499
2022-04-13 23:29:12 +02:00
Patriccollu 2f329b0e40 Update Corsican translation for Notepad++ 8.3.4
Close #11496
2022-04-13 23:20:02 +02:00
Christophe Mateos b6a62fc3fa Update french.xml
Close #11495
2022-04-13 23:16:20 +02:00
kubalav e76a5c3970 Update Slovak translation to 8.3.3
Close  #11491
2022-04-13 22:51:09 +02:00
~GOLEM~ 57730801d9 Update russian.xml v8.3.4
Close  #11455
2022-04-13 21:45:38 +02:00
Hugo Carvalho bee712d865 Update portuguese.xml
Close #11449
2022-04-13 21:43:54 +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
ArkadiuszMichalski d656c19de0 Update polish.xml to 8.3.3
Close #11423
2022-04-13 05:22:01 +02:00
Sapziller 016d0fcc7d update korean.xml 8.3.3
Close #11402
2022-04-13 05:20:24 +02:00
schnurlos f30fbcbee5 Update german.xml
Added missing translation for "FileLoadingException"

Close #11382
2022-04-13 05:18:44 +02:00
Karlo-F 235d9dea76 Update Deep Black.xml
Add stylers for "registry" files.

Close #11513
2022-04-13 05:15:04 +02:00
Don Ho 0ee65fd826 Fix x64 build error in 3f1a582a36
Fix x64 build error, remove unnecessary codes and add enhancement for the previous commit 3f1a582a36
2022-04-13 04:43:08 +02:00
ozone10 3f1a582a36 Add dark mode support for autocomplete list & calltip
Fix fix #11522, close #11523
2022-04-13 03:42:38 +02:00
Ben Rudiak-Gould 4ffd1e9858 Fix lossing characters issue after case-conversion (UPPER/lower)
Fix case-conversion code to handle changing string lengths:
Fixes an issue where, e.g., upper-casing U+2C65 adds garbage to the
document because its capital form U+023A has a shorter UTF-8 encoding.
Incidentally fixes another bug: rows would be truncated at the first
NUL when changing case in column mode.

Fix #11463, close #11464
2022-04-12 21:14:27 +02:00
Shridhar Kumar e094e99697 Fix "Enable current line highlighting" not working correctly
This is a regression of upgrading Scintilla from 4.x to 5.x due to concerning Scintilla APIs having changed their behaviour.
This PR follows the new instructions of Scintilla documentation to make it work again.

Fix #11433, close #11433
2022-04-11 23:11:33 +02:00
ozone10 3afbf0ca14 Fix light mode disabled text color using dark mode customized color
Light mode disabled static text was using customized dark mode disabled static text color, this PR fixes the problem.

Fix #11514, close #11515
2022-04-11 16:25:39 +02:00
wiseyestudio00 721f994df8 Fix "Sort Lines as Integer" not considering negative number
The current implementation is a variant of Natural Sort, which takes in account of negative numbers.

Fix #11023, fix #2025, close #11481
2022-04-10 19:44:49 +02:00
Karlo-F 6d929e1871 Shorter Croatian name in localization menu
Shorter "Hrvatski" (Croatian) instead of "Hrvatski jezik" (Croatian language).

Close #11510
2022-04-09 22:41:50 +02:00
Don Ho 00abd511b4 Remove the binary committed by ad39c68611 2022-04-09 21:33:30 +02:00
Don Ho 2474cbeafd Sort languages alphabetically in Style Configurator
Fix #11337, close #11508
2022-04-09 21:17:59 +02:00
Shridhar Kumar ad39c68611 Fix dark mode square edges around buttons for Windows 10
Close #11506
2022-04-09 21:01:14 +02:00
ozone10 b88e2fe57f Apply darkmode on missing preference dialog items
- Edit control in Date Time for Custom format
- Tooltip in Delimiter for Word character list
- Fix blurry text in Link for Clickable Link Settings

Fix #11497, close #11498
2022-04-09 19:59:52 +02:00
ArkadiuszMichalski 46ce9c31df [MinGW] Restore the original Scintilla makefile
For the sake of maintenance of Scintilla (future update), we try to not modify Scintilla project, or at least minimize its modification.
Hence the compiling boost part is shifted to Notepad++ project.

Fix #11014, close #11485
2022-04-09 17:39:21 +02:00
komurugov 7fa6fb083b Scrolling Document List automatically to make the selected tab item visible
Scrolling "Document List" to make the selected item visible after:
- selecting
- opening a file or files
- the program startup
- adding/removing columns

This commit doesn't cover the case of the selected item becoming invisible after resizing of the window.

Fix #11204, close #11471
2022-04-07 18:35:23 +02:00
wiseyestudio00 b4a58429c3 Make Find in Files Search Result line number aligned
Fix #11119, close #11479
2022-04-07 03:01:21 +02:00
Manuel Montoto 88ed851478 Add virtual space ability
Added an option in preferences to enable or disable virtual space.

Fix #11443, Fix #11444, close #11452
2022-04-06 15:37:23 +02:00
Daniel Fuchs 64bfa72bd0 Add default sorting ability in Function list
* Add new preference setting to allow function list to be sorted lexicographically by default.
* Fix sorting for mixed mode function list parsers on new file open.
* Add new translations to english.xml and german.xml.

Fix #11446, close #11447
2022-04-06 14:59:02 +02:00
ArkadiuszMichalski 44bcf1cff6 [MinGW] Place the Scintilla build intermediate files separate from the source files
1. Scintilla and Lexilla intermediate files are created in the same folder as NPP build file (`bin.i686.build` or `bin.x86_64.build`), but in subfolder `_lexilla.build` and `_scintilla.build`. I added `_` char at the beginning so these folders are always at the beginning. If you prefer a different name or location it can be change.
2. Stop build and dispaly error message when someone run "outside build" (use `-f` option) and source path has any spaces. It won't work anyway, so it's worth stopping the process and give a clear message.
3. Add new phony target `sciclean` and `lexclean` for deleting Scintilla or Lexilla intermediate files separately.
4. Change `_` to `|` for temporary replacement of space characters when detect proper shell. Char `_` is allowed in paths and should not be used for that purpose.
5. Add one more condition for `MAKELEVEL` variable to prevent unnecessary second calls to Scintilla and Lexilla makefile.
6. Update also `nppSpecifics_mingw.mak` file to works with above change.

Now we don't have to remember to clean up the previous files when we switch to different compiler (32-bit or 64-bit) or when we generate a debug version.

Fix 10991, close #11450
2022-04-06 01:16:11 +02:00
Don Ho 04e17b7375 Fix JSON, JavaScript and BaanC syntax highlighting not working regressions
Thanks to:
2113e782fb (r70489851)
2022-04-05 17:37:42 +02:00
sssousa b3296a1fd9 Update Inno Setup keyword list
Close #11432
2022-04-05 04:08:18 +02:00
Anders 4426f43cfd Update NSIS keywords file and autocompletion file
Close #11442
2022-04-05 03:11:13 +02:00
mpheath ee28051a71 Fix flashing box (autocompletion empty list) whilst Typing issue
Fix #9433, close #11460
2022-04-05 02:10:57 +02:00
Don Ho 48ee390cdd Fix doc being wronly marked as saved bug after converting its encoding
Fix #11436, close #11440
2022-04-04 21:58:20 +02:00
Oren Farhi 66ca02a015 Update Bespin theme website url
Close #11428
2022-04-04 21:13:55 +02:00
Don Ho 2113e782fb Use string lexer ID instead of numeric ID for Scintilla 5
Plus some factoring.

Close #11472
2022-04-04 18:01:51 +02:00
Don Ho 121a396bf0 Make external language library work again after upgrading to Scintilla5
Make external lexer library work again after upgrading to Scintilla5.
Old external lexer libraries needs to add CreateLexer export function which returns ILexer5 instance (Lexilla protocol interface of Scintilla5).

Tested with papyrus lexer plugin, this external lexer plugin is compatible with Notepad++ next release:
https://github.com/blu3mania/npp-papyrus

Close #11468
2022-04-03 18:23:03 +02:00
Don Ho 252468c29b Revert "Remove the external lexer support"
This reverts commit 41a5bf0245.
2022-04-01 19:17:18 +02:00
Don Ho 2871ee519b Revert "Fix syntax highlighting regression with cmdline argument"
This reverts commit 7a2f809e68.
2022-04-01 19:16:41 +02:00
Don Ho 7a2f809e68 Fix syntax highlighting regression with cmdline argument
41a5bf0245 (commitcomment-69921228)
2022-03-31 03:04:10 +02:00
Don Ho 41a5bf0245 Remove the external lexer support
SCI_LOADLEXERLIBRARY has been removed since Scintilla 5,
and I belive that Scintilla won't support it anymore:
https://sourceforge.net/p/scintilla/bugs/2236/

Close #11451
2022-03-30 18:52:47 +02:00
Christian Grasser a61b03ea88 Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5
Update with https://www.scintilla.org/scintilla521.zip
            https://www.scintilla.org/lexilla515.zip

- fix setting to bring Scintilla::PositionCR from ScintillaStructures.h inline with Sci_Position.h Sci_PositionCR
- add workaround to enable lexer for searchResult
commented out SCI_SETILEXER call on searchResult to get one result which is correctly handled by the lexer,
added comment about the current problem with property @MarkingsStruct which seems to disappear after call to SCI_SETILEXER or CreateLexer
- corrected usage of ObjC lexer
- removed unnecessary filter stuff
- use own sections for scintilla and lexilla build targets and allow parallel builds
- as libscilex is no longer existing, changed to libscintilla
- adapt makefiles and cmake
- use VS2019
- started simple changes for createlexer adaptations, nullpointercheck missing on return of lexer name from deprecated LexerNameFromID -> undefined behaviour
- movement from id -> lexer name, mostly done via LexerNameFromID + switching off corresponding compiler warning
- changed to SCI_SETILEXER from SCI_SETLEXER, SCI_SETLEXERLANGUAGE needs to be corrected, see Scintilla5Migration.html
- just commented out: SCI_LOADLEXERLIBRARY

Fix #10504, close #11419
2022-03-27 17:12:53 +02:00
Ashfaaq18 32580e6a80 Fix Document list not sync with tab order after sorting
Document List now updates itself with respect to the tabs sorted by the windows dialog

Fix #11272, close #11411
2022-03-22 19:23:02 +01:00
Ashfaaq18 6086e819fd Fix dark mode disabled static text color in Column Editor and Style configurator
Fix #11407, close #11409
2022-03-22 18:38:50 +01:00
Don Ho d9c5688635 Fix file saving critical bug under Symantec encryption desktop
Fix #11339, close #11403
2022-03-18 14:32:25 +01:00
VinsWorldcom 10ec944800 Fix wrong xml structure in 2 Auto-completion files
Move `<Environment>` tag into `<AutoComplete>` tag as per file definition for Cobol and Lua.

Fix #11393, close #11394
2022-03-17 16:57:04 +01:00
Daniel Fuchs dddffcf0fd Layout improvement in FindReplaceDlg
* move labels to resemble v8.2 positioning
* resize IDD_FINDINFILES_DIR_COMBO to make it end with the other comboboxes
* resize IDD_FINDINFILES_BROWSE_BUTTON to match combobox height
* make IDD_FINDREPLACE_SWAP_BUTTON in line with IDD_FINDINFILES_BROWSE_BUTTON
* expand GroupBox to allow for a wider IDREDOTMATCHNL
* expand IDREDOTMATCHNL
* improve scaling algorithm for those ComboBoxes

Fix #11318, close #11386
2022-03-17 15:26:40 +01:00
Don Ho 9465925cd1 easterEggs++; 2022-03-17 13:35:09 +01:00
Don HO a29cfa8d25 Notepad++ release v8.3.3 2022-03-15 00:17:40 +01:00
Don Ho 6892bcbf3a Fix Inslaller bad checkbox display under high DPI (250%)
Close #11384
2022-03-14 12:50:57 +01:00