Don Ho
52c850de74
Fix a minor GUI glitch in Preferences lg
...
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13075#issuecomment-1429515246
2023-02-14 19:00:39 +01:00
ArkadiuszMichalski
f403b12264
Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable
...
Fix one of issues in https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8972
Close #13120
2023-02-14 17:41:02 +01:00
ArkadiuszMichalski
d2ba9cae0e
Add keywords and functions of PHP
...
Fix #13012 , fix #9897 , close #13111
2023-02-14 16:59:15 +01:00
ozone10
37963ea21a
Apply tab colors to document list items
...
and add groups to document list.
Fix #12155 , fix #12689 , cllose #13080
2023-02-14 14:15:13 +01:00
ArkadiuszMichalski
0c704fd66b
Make theme warning message translatable (switching unsaved theme to another)
...
Fix report from comment: #8972 (comment).
Close #13112
2023-02-14 04:37:01 +01:00
ArkadiuszMichalski
f7fcab4c21
Make categories in the Shortcut Mapper dialog translatable
...
Fix #8858 , close #13110
2023-02-14 04:19:19 +01:00
ozone10
63ba30cfe1
Code enhancement: add -Wextra flag for GCC builds
...
- fix ignored-qualifiers warnings
- fix inconsistent-missing-override warnings
- use -O3 flag for GCC builds to keep inline with scintilla and lexilla
- add clang default settings in props
- add clang detection in debug info
Fix #13099 , close #13100
2023-02-13 23:55:35 +01:00
Alan Kilborn
dbd0c43dd1
Fix missing translation for the context menu items
...
Fix tab-bar-drag-to-edit-area move-and-clone ("Move to Other View" and "Clone to Other View") menu items not translating.
Fix #13088 , close #13097
2023-02-13 17:27:49 +01:00
ArkadiuszMichalski
3f13957f69
Make two items in progress dialog translatable
...
Fix part of #8004 , close #13096
2023-02-12 18:30:33 +01:00
Christian Grasser
43182e1d04
Update to Scintilla 5.3.3 and Lexilla 5.2.2
...
update to https://www.scintilla.org/scintilla533.zip with:
1. Released 8 February 2023.
2. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug #2372 .
3. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position.
4. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion.
5. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug #2374 .
6. On GTK, support IME context. Feature #1476 .
7. On GTK on Win32, fix scrolling speed to not be too fast. Bug #2375 .
8. On Qt, fix indicator drawing past left of text pane over margin. Bug #2373 , Bug #1956 .
9. On Qt, allow scrolling with mouse wheel when scroll bar hidden.
and https://www.scintilla.org/lexilla522.zip with
1. Released 8 February 2023.
2. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue #130 .
3. Matlab: Include more prefix and suffix characters in numeric literals. Issue #120 .
4. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue #18 .
5. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue #129 .
6. Modula-3: Fix endless loop in folder. Issue #128 .
7. Modula-3: Fix access to lines beyond document end in folder. Issue #131 .
8. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request #122 .
9. X12: Support empty envelopes. Bug #2369 .
update CMakeLists.txt to latest changes within vcxproj file
Close #13082
2023-02-12 17:11:57 +01:00
mpheath
9eab1f566d
Add option to make auto-completion list brief
...
Add filter and recall autocomplete option, so list will be shorter and shorter by adding characters.
Fix #12783 , close #13075
2023-02-12 03:01:56 +01:00
Don Ho
03a5c4795b
Add new notification for lexer plugin
...
The NPPN_EXTERNALLEXERBUFFER is sent to plugins with buffer ID (idFrom) when a new lexer is applied to the buffer in question.
Fix #12351 , close #13091
2023-02-11 19:20:57 +01:00
Don Ho
4d107e2691
Close doc in document list on middle mouse button up
...
In 94b83158dc
, closing doc in document list was on middle mouse button down.
This commit make it on middle mouse button up (for aligning with closing tab behaviour in Notepad++, also with OS middle mouse button click behaviour).
2023-02-11 18:53:58 +01:00
Rubat
94b83158dc
Add middle mouse click ability to close doc in Document List
...
Documents are closed on middle mouse click down.
Fix #12949 , close #13015
2023-02-11 18:49:13 +01:00
Alan Kilborn
0d9b16634d
Fix Synch H/V Scrolling commands not sync with 2 views
...
Fix #5250 , fix #13071 , close #13069
2023-02-08 01:59:21 +01:00
mpheath
9285bf2d42
Fix missing items in word autocomplete
...
Word autocomplete change from case sensitive search to variable search based on _ignoreCase unless language type is text. This allows text documents to retain case sensitive search to respect typed case as the issue only affects case insensitive Data/Programming languages. If normal.xml exist in the autocomplete folder then xml defaults apply for text so would be case insensitive by default unless overridden by the xml setting <Environment ignoreCase="no" />.
Fix #13060 , close #13062
2023-02-07 16:03:48 +01:00
ozone10
f38195a0da
Fix GCC conversion warnings
...
Fix #13055 , close #13056
2023-02-06 20:06:56 +01:00
ozone10
296a168b3f
Fix Doc Switcher bottom cut off regression
...
Fix #13053 , close #13054
2023-02-06 19:56:41 +01:00
ArkadiuszMichalski
43d9f0d665
Translate 'Compact Language Menu' popup dialog
...
Fix #13026 , close #13035
2023-02-06 19:37:06 +01:00
ozone10
dc99ce1035
Make Non-Print Characters show by default
...
Add NEL and ALM to NPC, and add note to not translate npc custom color stylename.
Close #13063
2023-02-06 19:30:14 +01:00
Don Ho
39f32bda96
Fix panels not restored from systemtray with "Edit with Notepad++" in admin mode
...
Continue the fix from:
afacc8338e
Eventualy fix Notepad++ not being restored on the foreground issue.
Fix #13041 , close #13058
2023-02-06 15:47:22 +01:00
ozone10
aaab190763
Add show non-printable characters command
...
| Name | Codepoint | Abbreviation |
|------------------------------|-----------|--------------|
| No-Break Space | U+00A0 | NBSP |
| Ogham Space Mark | U+1680 | OSPM |
| Mongolian Vowel Separator | U+180E | MVS |
| En Quad | U+2000 | NQSP |
| Em Quad | U+2001 | MQSP |
| En Space | U+2002 | ENSP |
| Em Space | U+2003 | EMSP |
| Three-Per-Em Space | U+2004 | 3/MSP |
| Four-Per-Em Space | U+2005 | 4/MSP |
| Six-Per-Em Space | U+2006 | 6/MSP |
| Figure Space | U+2007 | FSP |
| Punctation Space | U+2008 | PSP |
| Thin Space | U+2009 | THSP |
| Hair Space | U+200A | HSP |
| Zero-Width Space | U+200B | ZWSP |
| Zero-Width Non-Joiner | U+200C | ZWNJ |
| Zero-Width Joiner | U+200D | ZWJ |
| Left-To-Right Mark | U+200E | LRM |
| Right-To-Left Mark | U+200F | RLM |
| Line Separator | U+2028 | LS |
| Paragraph Separator | U+2029 | PS |
| Left-To-Right Embedding | U+202A | LRE |
| Right-To-Left Embedding | U+202B | RLE |
| Pop Directional Formatting | U+202C | PDF |
| Left-To-Right Override | U+202D | LRO |
| Right-To-Left Override | U+202E | RLO |
| Narrow No-Break Space | U+202F | NNBSP |
| Medium Mathematical Space | U+205F | MMSP |
| Word Joiner | U+2060 | WJ |
| Left-To-Right Isolate | U+2066 | LRI |
| Right-To-Left Isolate | U+2067 | RLI |
| First Strong Isolate | U+2068 | FSI |
| Pop Directional Isolate | U+2069 | PDI |
| Inhibit Symmetric Swapping | U+206A | ISS |
| Activate Symmetric Swapping | U+206B | ASS |
| Inhibit Arabic Form Shaping | U+206C | IAFS |
| Activate Arabic Form Shaping | U+206D | AAFS |
| National Digit Shapes | U+206E | NADS |
| Nominal Digit Shapes | U+206F | NODS |
| Ideographic Space | U+3000 | IDSP |
| Zero-Width No-Break Space | U+FEFF | ZWNBSP |
Fix also issue with tooltips in preference dialog, when changing between dark/light mode.
Fix #827 , fix #4731 , fix #8284 , close #13020
2023-02-05 04:20:25 +01:00
Alan Kilborn
07924528c4
Add Begin/End Select in Column Mode command
...
Fix #12833 , fix #12832 , close #13034
2023-02-04 04:46:24 +01:00
Don Ho
5aeb8abb5d
Fix notepad replacement opening file name containing white space regression
...
Fix #13032 , close #13027
2023-02-02 20:35:45 +01:00
Andreas Heim
5014edfacc
Fix some issues in Pascal/Delphi function list parser
...
Fix #12851 , close #12852
2023-02-02 18:38:40 +01:00
mpheath
62a23a8dc7
Fix autocomplete to sort case insensitive issue
...
Fix #12495 , close #12703
2023-02-01 02:04:23 +01:00
Rubat
afacc8338e
Fixed dock-able panels not restoring for mono instances
...
The bug happens when Notepad++ is in the tray, and is restored via mono instance restore mechanism.
Fixes #9454 , close #12817
2023-01-31 20:04:03 +01:00
ozone10
05977f6308
Get full product name for debug info for Windows 11
...
Make it consistent with earlier version of Windows.
Fix #12855 , close #12856
2023-01-31 19:58:32 +01:00
ozone10
e003f5b45f
Code enhancement: Use dlg resource parameters instead of reSizeTo
...
Fix #12857 , close #12858
2023-01-31 19:54:14 +01:00
Don Ho
409c363e1a
Notepad++ v8.4.9 release
2023-01-31 12:55:51 +01:00
ArkadiuszMichalski
92db94a359
[xml] Update polish.xml to 8.4.9
...
Close #12846
2023-01-27 02:52:38 +01:00
Edditoria
277ea770fe
[xml] Update localization: Hong Kong Cantonese...
...
As at commit f526567
of this repo.
This is a minor update for better presentation.
Close #12848
2023-01-27 02:50:50 +01:00
Karlo-F
e302ea2c9f
[xml] Update croatian.xml to 8.4.9
...
Close #12850
2023-01-27 02:48:37 +01:00
Don Ho
6e7901ecb3
Fix folder display mess in non-western languges under Macro/Run menu
...
Fix #12670
2023-01-26 23:32:51 +01:00
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="
" />
<Action type="1" message="2170" wParam="0" lParam="0" sParam="
" />
</Macro>
<Macro name="BB" Ctrl="no" Alt="no" Shift="no" Key="0">
<Action type="1" message="2170" wParam="0" lParam="0" sParam="
" />
<Action type="1" message="2170" wParam="0" lParam="0" sParam="
" />
<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