Commit Graph

4259 Commits (e75bd80693d1c5fa71b3d83533e374e489903bb3)

Author SHA1 Message Date
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