6378 Commits

Author SHA1 Message Date
xomx
9eb2598ea4 Add version of external libraries (Scintilla/Lexilla/Boost) into Debug Info
Dynamically collects all the version info needed and creates NppLibsVersion.h file by the help of a pre-build event.

Fix https://community.notepad-plus-plus.org/topic/21513/determining-supporting-library-versions

Fix #11466, close #16318
2025-03-23 15:44:32 +01:00
Christophe Mateos
56795061c5 [xml] Update French translation
Close #16314
2025-03-22 17:52:31 +01:00
Don Ho
39d9525845 Fix switching different languages regression
This regression was introduced by de9ffd2.

Fix #16309, close #16312
2025-03-21 01:13:38 +01:00
Krazal
d3563cafac Update hungarian.xml
Make the translation up-to-date:
• Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode

Close #16287
2025-03-19 16:11:31 +01:00
Andrei Miloiu
85477b7800 Update romanian.xml
Close #16288
2025-03-19 15:53:57 +01:00
kubalav
9e1184c771 [xml] Update Slovak translation
Close #16290
2025-03-19 03:41:58 +01:00
rddim
46525827ff [xml] Update Bulgarian localization
Close #16291
2025-03-19 03:39:27 +01:00
schnurlos
0b7162cf95 [xml] Update german.xml
Following a679e8ebfb

Close #16292
2025-03-19 03:24:24 +01:00
Radoš Milićev
ce64d99023 Update Serbian
Close #16308
2025-03-19 03:21:30 +01:00
A. Regnander
f4746ceeee Update swedish.xml
Close #16295
2025-03-19 02:26:40 +01:00
Marcellomco
33d90b7587 [xml] Update brazilian_portuguese.xml
Added translation for "Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode"

Close #16296
2025-03-18 23:59:13 +01:00
xomx
48a68a7937 [xml] Update czech.xml to v8.7.9
Close #16302
2025-03-18 23:56:52 +01:00
~GOLEM~
3577dff9f7 [xml] Update russian.xml
Close #16304
2025-03-18 15:52:15 +01:00
yasmise
a06c257a07 [xml] Update japanese.xml
Update Japanese translation texts for this commit:
* Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode (a679e8e)

Close #16306
2025-03-18 15:48:38 +01:00
Don Ho
ff734af115 Refactoring & cleanup Tabbar (part 2)
Remove unnecessary static functions, centralize the Tabbar settings on _tabStatus.

Close #16297
2025-03-17 13:02:37 +01:00
xomx
a679e8ebfb Enable new low-level DirectX11 DirectWrite 1.1 Scintilla rendering mode
Allow selection of the Scintilla v5.5.5 SC_TECHNOLOGY_DIRECT_WRITE_1 (Windows 7 SP1 and newer only).

Close #16284
2025-03-16 03:38:47 +01:00
Don Ho
659330e81a Fix plugin button hidings being ignored bug in toolbar button conf
Fix plugin button hidings settings being ignored bug in toolbar button config,
if the value of "hideAll" attribute of "Standard" node in "toolbarButtonsConf.xml" is set to "yes".

Fix #16280, close #16285
2025-03-15 23:31:22 +01:00
Don Ho
0ead95eb86 Fix incorrect syntax hiliting by switching from wrong langType to right one
Regression was introduced by commit b2152d983e3b20aed7f687ba1d9e916ae6065b24

Fix #16271, close #16281
2025-03-15 03:52:50 +01:00
Don Ho
25a40b9a62 Refactoring & clean up for TabBar (part 1)
Close #16275
2025-03-14 16:14:23 +01:00
PeterCJ
88bc3955e9 Fix SQL Backslash Escape preference not taking effect immediately
Refresh SQL lexer(s) on preference change.
With new internal message, able to send the SQL property to the each SQL buffer.

Fix #16244, close #16258
2025-03-13 20:06:32 +01:00
Christian Grasser
e38a0f2ec9 Update to scintilla 5.5.5 & Lexilla 5.4.3
Release 5.5.5 (https://www.scintilla.org/scintilla555.zip)

    Released 25 February 2025.
    Remember selection with undo and redo. Controlled with SCI_SETUNDOSELECTIONHISTORY. Feature #1273, Bug #1479, Bug #1224.
    Serialize selection type and ranges with SCI_GETSELECTIONSERIALIZED and SCI_SETSELECTIONSERIALIZED.
    For Win32, update Direct2D and DirectWrite interfaces used to 1.1 and add a lower-level approach to calling DirectWrite 1.1 by specifying SC_TECHNOLOGY_DIRECT_WRITE_1. Since Windows Vista does not support these API versions, Scintilla o longer supports DirectWrite on Windows Vista and will fall back to using GDI.
    Fix segmentation of long lexemes to avoid breaking before modifiers like accents that must be drawn with their base letters. For wrapping, try to break lines without separating letters from modifiers.
    For GTK on Windows, replace reverse arrow cursor with hand as reverse arrow was small in scaled modes. Bug #2460.
    Fix bug on Qt where double-click stopped working when Scintilla instance had been running for weeks.

Release 5.4.3 (https://www.scintilla.org/lexilla543.zip)

    Released 25 February 2025.
    C++: Fix evaluation of != in preprocessor condition. Issue #299.
    Modula-3: Allow digits in uppercase identifiers. Issue #297.
    Pascal: Fix asm style extending past end. Issue #295.
    Python: Fix detection of attributes and decorators. Issue #294, Pull request #302.
    Ruby: Implement substyles for identifiers SCE_RB_IDENTIFIER.
    Ruby: Recognize name as SCE_RB_DEFNAME in def when `::` used as well as `.`. Issue #300.

Close #16235
2025-03-12 16:09:49 +01:00
Don Ho
1068b5359a Notepad++ release 8.7.8 v8.7.8 2025-03-08 04:12:53 +01:00
Don Ho
8793825b34 Fix FuncList not refresh correctly due to large files perf improving
Fix #16221 completely
2025-03-07 17:02:20 +01:00
xomx
829cd9d119 Fix FunctionList not refresh correctly on change of current doc's lang
Synchronize FunctionList panel with the current tab/buffer syntax set.
Ensures automatic switching to the currently used tab/buffer lang.

Before, the FunctionList remained populated according to the previously used lang, even if the user switched to a different one. In such a case a manual FL-reload/re-init was needed.

Fix #16221, close #16245
2025-03-07 15:25:05 +01:00
PeterCJ
a1f5405387 Fix SQL Backslash Preference state regression (from v8.7)
Move IDC_CHECK_BACKSLASHISESCAPECHARACTERFORSQL BM_SETCHECK from IndentationSubDlg processing to LanguageSubDlg processing to fix the regression in v8.7.

Fix #16249, close #16253
2025-03-06 21:45:22 +01:00
Patriccollu
1331002c74 [xml] Update Corsican translation for Notepad++ 8.7.8
Close #16237
2025-03-06 21:42:56 +01:00
Don Ho
ba3b955a45 Fix syntax hiliting err while switch lang on untitled doc regression
The regression was introduced by commit b2152d983e3b20aed7f687ba1d9e916ae6065b24

Fix #16250, close #16254
2025-03-06 21:39:20 +01:00
Don Ho
99d3f86d8b Fix irish.xml copy error in installer 2025-03-02 14:51:52 +01:00
xomx
bb0ed32d40 Fix installer silent mode doLocalConf.xml setting handling issue
Fix #16233, close #16234
2025-02-27 17:08:03 +01:00
Don Ho
aecc0e4a3b Update French & Taiwanese Mandarin localization 2025-02-26 02:27:32 +01:00
Andrei Miloiu
9044a085fe [xml] Update romanian.xml
Close  #16227
2025-02-25 22:24:11 +01:00
Don Ho
977391c5cb Enlarge the text fields of 2 control for the localization files
Fix #16199
2025-02-25 17:13:51 +01:00
A. Regnander
9008ae79f9 Update swedish.xml
Close #16204
2025-02-25 16:26:12 +01:00
Don Ho
eb5ed6c527 Add a new quote 2025-02-25 05:08:55 +01:00
Don Ho
0a42806515 Fix regression of keeping saving backup file even w/o modification
The regression was introduced by commit fc051a1231065731205ff5e315684ce3bfb19033, and the regression is from v8.7.1 to v8.7.7.

Fix #16186, close #16225
2025-02-24 23:49:11 +01:00
xomx
72e44cea4d [xml] Update czech.xml to v8.7.8
Close #16224
2025-02-24 13:52:50 +01:00
Don Ho
123f5abc1c Remove deleted line from the localization files 2025-02-24 04:45:12 +01:00
kubalav
c93d769863 [xml] Update Slovak translation
Close #16168
2025-02-24 01:42:37 +01:00
rddim
624152be67 [xml] Update Bulgarian localization
Close #16170
2025-02-24 01:40:30 +01:00
schnurlos
afcf7af123 [xml] Update german.xml
Following 706d7ae6de (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472) & e094814133

Close #16171
2025-02-24 01:39:10 +01:00
Matteo Concato
9694f95562 [xml] Update italian.xml
Close #16222
2025-02-24 01:33:48 +01:00
Marcellomco
933097b5f1 [Xml] Update brazilian_portuguese.xml
Added translation for "Set User Defined Languages online help to Notepad++ User Manual URL"

Close #16164
2025-02-24 01:29:52 +01:00
Andrei Miloiu
250fe38032 [xml] Update romanian.xml
Close #16166
2025-02-24 01:11:22 +01:00
Krazal
5b45909550 Update hungarian.xml
Consolidated updates since v8.7.3:
• Add "User Defined Languages online help"
• Make some translations more professional
• Make translation up-to-date (adding support for other Scintilla rendering modes)

Close #16209
2025-02-24 00:17:23 +01:00
Karlo-F
9b334f1a52 [xml] Update croatian.xml to v8.7.8
Close #16220
2025-02-24 00:15:48 +01:00
~GOLEM~
dba97be975 [xml] Update russian.xml v8.7.8
Close #16178
2025-02-24 00:13:35 +01:00
yasmise
bdf84ef57a [xml] Update japanese.xml
Update japanese translation file for this commit:
* Set User Defined Languages online help to Notepad++ User Manual URL (e094814)

Close #16174
2025-02-23 20:06:45 +01:00
Don Ho
3d4a53adb4 Add the ability to hide selected toolbar buttons via a XML conf file
Usage:
Move & rename toolbarButtonsConf_example.xml to %APPDATA%\Notepad++\toolbarButtonsConf.xml, modify the XML file content & save it in your favorite editor (Notepad++, whatelse? ;) ), then relaunch Notepad++.

This PR simplies largely the logic of PR #15999 to make the code maintainable.

Fix #15106, fix #15440, fix #16000, close #16216
2025-02-22 20:31:05 +01:00
Don Ho
83755ca155 Improve folding/unfolding performance for large files
- Use the Scintilla dedicated command SCI_FOLDALL to replace the inefficient loop for "Fold All" command.
- Fix "Fold level" & switching back to large files folding performance.
- Refactoring the hide/show lines functions.

Note that there might be a regression of URL link:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16200/files#r1961937279

The commit is based on code of #16064.

Fix #16064, close #16200
2025-02-22 17:23:58 +01:00
Coises
a52738c1dd Fix count operation on regex makes Notepad++ hang
Fix #16207, close #16208
2025-02-22 15:32:48 +01:00