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
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