Commit Graph

2987 Commits (3fcad98883bd719b6be63f234648f5712018548f)

Author SHA1 Message Date
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
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
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
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
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
Don Ho b4c5c14cd6 Enlarge a control for the translation 2022-10-30 17:20:52 +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
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 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
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
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
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
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
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