6411 Commits

Author SHA1 Message Date
Juan
a45980f364 [xml] Update spanish.xml v. 8.8.1
Close #16612
2025-06-15 16:54:36 +02:00
Juan
5e74415adc [xml] Update galician.xml v. 8.8.1
Close #16613
2025-06-15 16:52:17 +02:00
kubalav
08e014d61e [xml] Update Slovak translation
Close #16510
2025-06-15 16:49:20 +02:00
rddim
b9d7a1988b [xml] Update Bulgarian localization
Close #16506
2025-06-15 16:47:06 +02:00
Krazal
116a17019e [xml] Update hungarian.xml
Make translation up-to-date:

• Translate "Use the first line of document..." (commit abc2371)
• Add missing labels (commit 393815b) + a small adjustment (file header & version)
• Translate Locale-based line sort feature (commit a9d8dca)
• Make some expressions even more appropriate / user friendly
• Add/Place some accelerator letters more precise

Close #16632
2025-06-15 16:32:32 +02:00
yasmise
38cb135302 [xml] Update japanese.xml
Add translation lines for this commit:
* Add labels in Preferences Tab bar section (393815b)

Close #16570
2025-06-15 16:03:32 +02:00
ozone10
61084f1c93 Fix scrollbar sometimes not drawn in listbox in dark mode
Fix #16674, close #16676
2025-06-13 20:47:23 +02:00
ozone10
a8ff8bb78e Dark mode enhancement for tab control
- enable to use in generic dark mode subclass for plugins
- handle more styles (button style, usage of icons)
- double buffer to avoid flicker
- focus rect when keyboard is used for navigation

Fix #16668, close #16673
2025-06-13 20:34:36 +02:00
Don Ho
7cc002680a Fix right click on caption bar unhidding main menu
Fix #16652, close #16682
2025-06-13 20:06:49 +02:00
Christian Grasser
e85c354135 Update to scintilla 5.5.7 & Lexilla 5.4.5
Release 5.5.7 (https://www.scintilla.org/scintilla557.zip)

Released 8 June 2025

1. Add SCI_SCROLLVERTICAL method to restore view position and maintain it while performing line wrapping.
2. Add SC_UNDO_SELECTION_HISTORY_SCROLL flag to SCI_SETUNDOSELECTIONHISTORY which controls whether undo and redo restore vertical scroll position.
3. Tweak SC_MARK_BAR to be slightly wider by using next higher whole pixel instead of next lower for margin width / 3.
4. Scale images in autocompletion lists with SCI_AUTOCSETIMAGESCALE to match high DPI screens. Initially only on GTK and Qt.
5. Fix wrapping bug for UTF-8 where \r\n could wrap between the characters. Notepad++ Pull Request #16373.
6. Fix crash during painting when scroll bars changed. Bug #2481.
7. On GTK, reset vertical scroll bar synchronously in SCI_SETDOCPOINTER to fix bug where scroll position not restored in non-wrap mode. Bug #2416.
8. On GTK, fix IME problem when tentative composition interfered with delete surrounding. Feature #1476.
9. On GTK, update IME cursor position inside retrieve surrounding to better position candidate window. Feature #1488.

Release 5.4.5 (https://www.scintilla.org/lexilla545.zip)

Released 8 June 2025

1. Dart: Add error state SCE_DART_STRINGEOL for unterminated string. Pull request #315.
2. Makefile: Add a keyword list to makefile lexer to highlight GNU Make directives like 'ifdef' and 'vpath' as SCE_MAKE_PREPROCESSOR since these are similar to NMAKE directives like '!IFDEF'.
3. Nix: Add error state SCE_NIX_STRINGEOL for unterminated string. Pull request #315.
4. TOML: Add error state SCE_TOML_STRINGEOL for unterminated string. Pull request #315.
5. Zig: Add error state SCE_ZIG_STRINGEOL for unterminated string. Pull request #315.

Close #16649
2025-06-13 15:12:33 +02:00
Don Ho
5b26ef1ca8 Fix rename tab error msg while no change tab name
Fix #16661, close #16665
2025-06-12 04:10:48 +02:00
Don HO
299d7cb26e
Minor changes in CONTRIBUTING.md 2025-06-06 17:50:29 +02:00
Don Ho
0478caebf1 Fix use1stLineAsTabName feature called twice while undo/redo
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16585#issuecomment-2944075642

Close #16635
2025-06-06 02:54:22 +02:00
PeterCJ
1911875411 Fix Python FunctionList absorbing next function issue if space after colon
Allow spaces between ':' and EOL.

Fix #16636, close #16637
2025-06-06 02:52:55 +02:00
PeterCJ
8435308b02 Add XSD-based validation for the various XML files
And fix the themes and javascript.js functionlist that don’t match XSD.

Fix #16618, close #16619
2025-06-04 19:42:01 +02:00
xomx
d767fd846c Fix DisplayInfo maxAdapters searching limitation
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16588#issuecomment-2906537768

Close #16633
2025-06-04 19:24:22 +02:00
PeterCJ
dfba125356 Remove .log from errorlist lexer's default extensions
Fix #16627, close #16628
2025-06-04 18:23:32 +02:00
rdipardo
19267aa0ea Make raw string syntax highlighting work for Golang
Enable the raw string lexer property for Golang.
Also: add a new 'STRING RAW' style to all Golang themes.

Fix #16609, close #16615
2025-06-04 14:55:30 +02:00
Anthony Lee Stark
abc23714db Add new feature of using first line of untitled document for its tab name
Fix #3994, fix #16584, close #16585
2025-06-04 14:11:24 +02:00
Anthony Lee Stark
6459905816 Fix Notepad++ try icon lost after Windows Taskbar crashes & being recreate
Re-add the tray icon when the taskbar is re-created.

Fix #16588, close #16589
2025-06-03 03:03:33 +02:00
ArkadiuszMichalski
703e2e1726 Fix not enough room 4 translation of "Transparency" item in Style Configurator
Fix #16549, close #16555
2025-05-29 19:37:15 +02:00
Gitoffthelawn
da579eece9 Improve toolbarButtonsConf_example.xml documentation
Close #16508
2025-05-29 19:10:12 +02:00
Don Ho
1f48115666 Fix regression of folding state not being remembered through sessions
The regression is introduced by:
83755ca155 (diff-d88ddee57a027ab23daf332c4778ced0cee352edcb34efdda1b218e8a75c61b2L2636)

The culprit of this regression is the deletion of following 4 lines in the commit above:
```
void ScintillaEditView::fold(size_t line, bool mode, bool shouldBeNotified/* = true*/)
{
	auto endStyled = execute(SCI_GETENDSTYLED);
	auto len = execute(SCI_GETTEXTLENGTH);

	if (endStyled < len)
		execute(SCI_COLOURISE, 0, -1);
```
The method "ScintillaEditView::fold()" is called not only on manual folding by the users, but also on:

1. startup's loading session to restore the folding state programmatically.
2. after startup, switching among the documents to restore the folding state programmatically.

The above lines are important for the case 1.

However, these lines are necessary only on the first load of each file after the startup of Notepad++.
"execute(SCI_COLOURISE, 0, -1);" needs to be run for once (the case 1), not twice or more (the case 2).

So if there's a way to detect if a document has been run "execute(SCI_COLOURISE, 0, -1);" once (in the case 1),
and don't run it again (the case 2), it will save the time to switch among the document.

Fix #16597, close #16599
2025-05-29 17:54:14 +02:00
ozone10
19a1897eaa Fix changing toolbar icon set not change to matched panel icon set issue
Synchronize dockable panel tab icons with toolbar icons.

Fix #16595, close #16556
2025-05-27 13:46:39 +02:00
xomx
8bc77857a7 Fix "Go To Settings" links in Style Configurator regression (from v8.8)
Regression is introduced by commit:
e45f72ae39

Fix #16592, close #16593
2025-05-27 13:05:30 +02:00
PeterCJ
a10cebe2cd Change from Nimrod to Nim in three themes
Fix #16578, close #16579
2025-05-22 16:25:54 +02:00
Don Ho
8696d28cfd Fix typos (part 2) 2025-05-21 17:57:33 +02:00
Anthony Lee Stark
d3e846162a Fix Windows dialog file list not react with keystroke (character match)
Fix #2239, close #16572
2025-05-21 17:21:41 +02:00
Don Ho
b742c540bb Fix typos
and clean-up.

Close #16576
2025-05-21 03:16:30 +02:00
ozone10
9232226d3f Improve dark mode updown control appearance in dark mode
Fix #16560, close #16568
2025-05-20 17:55:07 +02:00
Don Ho
2de6260610 Deprecate 3 APIs
Deprecate NPPM_GETOPENFILENAMES, NPPM_GETOPENFILENAMESPRIMARY & NPPM_GETOPENFILENAMESSECOND.

Fix #15997, close #16569
2025-05-19 00:19:28 +02:00
Don Ho
140b11a835 Fix regression of tab background highlighting issue after drag&drop
Fix #16559
2025-05-18 15:35:25 +02:00
Don Ho
393815b99f Add labels in Preferences Tab bar section
and do some clean up.
2025-05-16 19:05:37 +02:00
ozone10
3548696bd7 Fix updown control style not changing when toggling dark mode
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16548#issuecomment-2884419833, close #16553
2025-05-16 15:43:14 +02:00
Shridhar Kumar
5406b82fb4 Add new plugin API: NPPM_GETTOOLBARICONSETMODE to get toolbar icon set choice
Fix #16547, close #16548
2025-05-15 17:58:43 +02:00
Don Ho
0e249b1bb9 Sync plugin header (part 4) 2025-05-14 18:51:34 +02:00
Shridhar Kumar
3310a613e4 Fix URL Link controls color in dark mode consistent issue for plugins
Fix #16537, close #16538
2025-05-14 17:01:35 +02:00
Don Ho
f677a0c5db Update plugin header (part 3) 2025-05-14 15:10:54 +02:00
Don Ho
3395108c59 Update plugin header file (part 2) 2025-05-14 02:08:35 +02:00
Don HO
c24bf54ae5
Bring Back Political Incorrectness!
From "main" to "master" in release-notifier.yml.
2025-05-14 02:00:58 +02:00
Anthony Lee Stark
108e555557 Mark modified files with "*" in Windows menu dropdown
Fix #16542, close #16551
2025-05-13 23:22:40 +02:00
Don Ho
bf1f4769ec Clean up header file (part 1) 2025-05-13 22:47:40 +02:00
xomx
b7faa4d70d Add basic DisplayInfo for the DebugInfo
Fix #16519, close #16541
2025-05-13 21:08:33 +02:00
PeterCJ
dbce73c8fa Add release-notifier workflow for synchronizing the headers with 2 plugin demos
ping the plugintemplate & plugindemo repos anytime that a push to master branch includes changes to the 7 plugin-related source-files

(see https://github.com/npp-plugins/plugintemplate/issues/13#issuecomment-2867953737)
2025-05-13 19:43:55 +02:00
Don Ho
1da3312c73 Refactoring & clean up 2025-05-13 18:58:02 +02:00
Don Ho
b1cd1a9f29 Remove unused header file tchar.h 2025-05-08 05:02:12 +02:00
Christian Grasser
34677a5415 Code enhancement: Avoid usage of non FULL scintilla interfaces
- disabled versions with usage of Sci_PositionCR restricted to 2GB files on windows
- didn't adapt ScintillaStructures.h yet to avoid disabling/patching of functions for SCI_GETTEXTRANGE, SCI_FINDTEXT, SCI_GETSTYLEDTEXTFULL and SCI_FORMATRANGE already now

Ref: discussion at https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16467

Close #16522
2025-05-07 19:14:34 +02:00
Don HO
51eea9827b
Update CONTRIBUTING.md 2025-05-07 05:27:58 +02:00
Don Ho
0f79a51646 Fix an unresponsive issue due to hide lines
Fix swiching back to document which has processed hide lines makes Notepad++ unresponsive due to an infinite loop.
Fix also setting language makes hiding lines unhidden issue.

Fix #16316, close #16512
2025-05-05 15:52:03 +02:00
Don Ho
910f02dfd5 Notepad++ release 8.8.1 v8.8.1 2025-05-05 04:21:55 +02:00