6473 Commits

Author SHA1 Message Date
Don Ho
7ac7f9a0e6 Remove unecessary lines for accelerating switching into large files
ref: #16064
2025-02-14 18:05:41 +01:00
Don Ho
0b98007883 Minor refactoring & rename varibles 2025-02-13 15:12:45 +01:00
Don Ho
5dfc9709c9 Fix a syntax highlighting regression while switching among UDL files
Fix #16154, close #16181
2025-02-13 02:40:38 +01:00
xomx
abbe60e74c Allow using the Scintilla DirectWrite in non-Core Windows Server
Fix #15916, close #15921
2025-02-09 12:28:06 +01:00
Don Ho
db0bc136d6 Use a common abbreviation of a specific control code
Use VTS instead of LTS.

Fix #16107, close #16138
2025-02-08 17:13:59 +01:00
Don Ho
e094814133 Set User Defined Languages online help to Notepad++ User Manual URL
Fix #13737
2025-02-08 16:18:14 +01:00
Don Ho
b2152d983e Optimize switching programming language performance for large files
Fix #16106, close #16109
2025-02-07 19:39:57 +01:00
Don Ho
706d7ae6de Notepad++ release 8.7.7 v8.7.7 2025-02-07 15:42:32 +01:00
schnurlos
ec961c895c [xml] Update german.xml
Close #16101
2025-02-03 07:32:21 +01:00
Don Ho
d888fb5f12 Improve NPPM_ADDSCNMODIFIEDFLAGS API
Improve NPPM_ADDSCNMODIFIEDFLAGS API so plugins can call it anytime for taking the effect immediately.

Ref: https://community.notepad-plus-plus.org/topic/26595/new-api-to-fix-eventual-regression-regarding-scn_modified-for-some-plugins/9?_=1738384417702
2025-02-01 07:26:25 +01:00
Don Ho
80319a71ee Improve the code example of new API NPPM_ADDSCNMODIFIEDFLAGS
Fix https://community.notepad-plus-plus.org/topic/26595/new-api-to-fix-eventual-regression-regarding-scn_modified-for-some-plugins/9?_=1738384417702
2025-02-01 06:34:34 +01:00
Don Ho
6fd3830b42 Add NPPM_ADDSCNMODIFIEDFLAGS to fix regression for Plugins
Add **NPPM_ADDSCNMODIFIEDFLAGS** message for plugins which need the SCN_MODIFIED notification of other events.

BOOL NPPM_ADDSCNMODIFIEDFLAGS(0, unsigned long scnMotifiedFlags2Add)
Add needed SCN_MODIFIED flags so your plugin will recieve the notification SCN_MODIFIED of these events for your specific treatments.
By default, Notepad++ only forwards SCN_MODIFIED with the following 5 flags/events SC_MOD_DELETETEXT | SC_MOD_INSERTTEXT | SC_PERFORMED_UNDO | SC_PERFORMED_REDO | SC_MOD_CHANGEINDICATOR to plugins.
If your plugin need to process other events of SCN_MODIFIED, you should add the flags you need by sending this message to Notepad++, just after recieving NPPN_READY.
wParam: 0 (not used)
lParam[in]: scnMotifiedFlags2Add- Scintilla SCN_MODIFIED flags to add.
Return TRUE

Ref: https://community.notepad-plus-plus.org/topic/26588/notepad-v8-7-6-released/2?_=1738167940554

Fix #16121, close #16120
2025-01-31 18:25:04 +01:00
Don Ho
5f004411af Notepad++ release 8.7.6 v8.7.6 2025-01-28 08:20:49 +01:00
Don Ho
8042e50b19 Remove unnecessary calls to remedy the plugin issue (regression)
Ref: https://community.notepad-plus-plus.org/topic/26567/notepad-v8-7-6-release-candidate/6?_=1737703232720
2025-01-24 08:18:27 +01:00
IoeCmcomc
3eb1253d50 [xml] Update Vietnamese.xml to v8.7.6
Close #16098
2025-01-22 03:40:09 +01:00
pryrt
236bbf5aa5 Allow shortcuts for keys specific to non-en-US keyboards
Add keyboard-specific customizable keys to shortcut mapper.

Fix #16071, close #16095
2025-01-22 03:36:53 +01:00
Juan
1d4e3c5067 [xml] Update spanish 8.7.5.xml
Close #16018
2025-01-21 05:35:38 +01:00
Juan
8c4c2c2fe3 [xml] Update galician.xml v.8.7.5
Close #16097
2025-01-21 05:31:03 +01:00
Krazal
e00f338d95 Update hungarian.xml
Close #16093

Up-to-date Hungarian language file:
• Show buttons on inactive tabs
• Shorter Menu Settings/Preferences
• HowToReproduce comment (FindCharRangeValueError)
• Search and Shortcuts warnings (FindAutoChangeOfInSelectionWarning and Need2Restart2ShowMenuShortcuts)
2025-01-20 09:53:52 +01:00
Karlo-F
ae8df71e77 [xml] Update croatian.xml to v8.7.5
Close #15977
2025-01-20 09:36:41 +01:00
indiff
f5fbff5927 Update chinese.xml
Close #15988
2025-01-20 09:23:44 +01:00
Christophe Mateos
6113b73038 [xml] Update french.xml
Close #15996
2025-01-20 09:21:24 +01:00
Hugo Carvalho
874043bfaa [xml] Update Portuguese.xml
Close #16004
2025-01-20 09:15:38 +01:00
Juan
b6c177088d [xml] Update galician 8.7.5.xml
Close #16019
2025-01-20 09:00:51 +01:00
A. Regnander
79b59ff0b5 Update swedish.xml
Added string for the "Follow current doc." checkbox, which was removed in commit 6453379

Close #16024
2025-01-20 08:53:26 +01:00
kubalav
190a04fde5 [xml] Update Slovak translation
Close #16028
2025-01-20 08:48:24 +01:00
Marcellomco
59e1005a61 [XML] Update brazilian_portuguese.xml
Added translation for "Fix wrong replace all while 2nd time replace in selection"

Close #16030
2025-01-20 07:31:53 +01:00
Patriccollu
b9da6067a8 [xml] Update Corsican translation for Notepad++ 8.7.6
Close #16037
2025-01-20 07:25:42 +01:00
yasmise
1ba37e0faa [xml] Update japanese.xml
Update translation lines for this commit:
* Fix wrong replace all while 2nd time replace in selection (4b637b4)

Close #16038
2025-01-20 07:11:49 +01:00
Andrei Miloiu
bb2af02063 [xml] Update Romanian translation for Notepad++ 8.7.6
Close #16040
2025-01-20 07:09:07 +01:00
Matteo Concato
6a08f0a0ed [xml] Update italian.xml
Close #16049
2025-01-20 06:49:05 +01:00
schnurlos
f7881f61c0 Update german.xml
Following 4b637b4fc8.
Fixed https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16052 (thx @octaeder)
Fixed https://github.com/notepad-plus-plus/notepad-plus-plus/issues/15795 (thx @cyclingcat)
Hopefully fixed https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16045 (thx @ all)

Close #16055
2025-01-20 06:35:11 +01:00
Radoš Milićev
5d6cefcc79 Sync Serbian with v8.7.6
Close #16068
2025-01-20 06:03:06 +01:00
~GOLEM~
b110c4d65e Update russian.xml 8.7.6
Close #16074
2025-01-20 06:00:10 +01:00
rddim
8794247420 [xml] Update Bulgarian localization
Close #16078
2025-01-20 05:57:59 +01:00
xomx
85acdbc8a0 [xml] Update czech.xml to v8.7.6
Close #16086
2025-01-20 05:55:02 +01:00
xomx
b09b89799b Fix floating panels position resetting in multimon extended mode
This fixes a regression caused by PR #15236 (Fix for the "lost" panels problem).

As the Virtual Screen in the extended multi-monitor mode can start not a the point 0,0 (as the primary monitor does) but also at some negative coordinates, we have to deal with it.

The MS Virtual Screen concept ref:
 https://learn.microsoft.com/en-us/windows/win32/gdi/the-virtual-screen

Fix #15498 , fix #16077, close #16079
2025-01-19 19:46:13 +01:00
pryrt
6dfbc1f7e8 Add ShortcutMapper MultiLingual ability
When application is first loaded, it scans through the VK mappings on the active keyboard, and for the keyboard-specific keys (focused on the VK_OEM_# and similar keys), it will read what Windows says is the actual character associated with that virtual key code, and will populate a mapping for display purposes; when Notepad++ is showing the shortcut keys in menus or in the Shortcut Mapper, it will display the keyboard-specific character rather than the default en-US character.

(Debugged locally using Windows' `osk.exe` virtual keyboard app, and users with alternate physical keyboards have verified it for me as well, including the original requester.)

Fix #15966, Fix #14395, close #16072
2025-01-19 06:10:59 +01:00
Don Ho
1cf112a342 Fix "Show buttons on inactive tabs" option inconsistent behaviour
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16059#issuecomment-2589933587
2025-01-15 09:36:36 +01:00
Don Ho
0d484da68e Add "download" attribute in HTML
Fix #16036
2025-01-15 08:41:10 +01:00
Alan Kilborn
b962835fef Fix backup file renaming bug for untitled tabs
Fix #16043, close #16047
2025-01-15 06:51:27 +01:00
Don Ho
3921812175 GUI enhancement: hide right menu shorcuts on the fly
Make the option "Hide right shortcuts + ▼ ✕" (in Preferences->General->Menu) hide right menu shortcuts immediately.
2025-01-15 05:59:45 +01:00
Don Ho
c2d1ec6c85 Add localization entry & clean up 2025-01-14 12:34:17 +01:00
Don Ho
8fde4bd8aa Make "Show close/pin button on each inactive tab" optional
Fix #15912, fix #16035, close #16059
2025-01-14 12:33:37 +01:00
Don Ho
26c3008525 Make current line/position copiable in Go to line dialog
Fix #15950
2025-01-13 09:54:16 +01:00
Alan Kilborn
d7ddb6ea3a Enhance UX in "Find in file" action while Directory field is empty
Move the input focus to Directory edit control if Directory field is empty while launching Find in files search.

Fix #16051, close #16057
2025-01-13 08:28:03 +01:00
Don Ho
e28324b8d0 Fix reload losing syntax highlighting regression
The regression is introduced by:
de9ffd2ea8

Fix #16027, close #16042
2025-01-11 04:48:57 +01:00
rdipardo
9e1db77f81 Fix literals wrong style for server side JavaScript
Add styles for SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL in styles.xml.

Fixes #15821, close #15822
2025-01-09 11:29:05 +01:00
Mmaloy
4fc044ed67 Add "color-scheme" keyword for CSS
Fix #15825, close #15930
2025-01-09 11:06:29 +01:00
Alan Kilborn
104cc8af73 Fix crash while passing invalid buffer with NPPM_SETUNTITLEDNAME
Fix #15970, close #15975
2025-01-09 10:55:03 +01:00