6564 Commits

Author SHA1 Message Date
Don HO
85fa8bf953 Enhance Command Line Arguments dialog: smaller & more readable 2025-10-06 16:25:36 +02:00
Don HO
7a21c638eb Enlarge some items' size in Preferences for translation 2025-10-05 19:33:39 +02:00
artpoli
598aefef9b [xml] Update Ukrainian localization
Close #17014
2025-10-03 13:45:21 +02:00
rddim
88c2cc8df4 [xml] Update Bulgarian localization
Close #17000
2025-10-03 13:42:12 +02:00
Ekopalypse
8be29baea7 Update NppIO.cpp, remove fake buffer id
Retain the buffer_id for the NPPN_FILEDELETED notification so that plugins can associate the deleted file with NPPN_FILEBEFOREDELETE.

Fix #6224, close #17051
2025-10-02 17:29:38 +02:00
Karlo-F
3952c1e767 [xml] Update Croatian localization
Close #17026
2025-10-02 16:55:27 +02:00
A. Regnander
2044febe98 Update swedish.xml
Close #17004
2025-10-02 16:52:08 +02:00
Radoš Milićev
cd312d5c38 Update Serbian to version 8.8.5
Close #17019
2025-10-01 00:30:00 +02:00
Edditoria
4bdacd5e32 [xml] Update localization: Hong Kong Cantonese...
Close #16949
2025-10-01 00:25:25 +02:00
~GOLEM~
2dbdfdcb66 [xml] Update russian.xml
Close #16989
2025-10-01 00:22:37 +02:00
Juan
59331d2d61 [xml ]Update spanish.xml
Close #17041
2025-10-01 00:20:32 +02:00
Juan
da97507a26 [xml] Update galician.xml
Close #17042
2025-10-01 00:18:11 +02:00
Patriccollu
809708db9e [xml] Update Corsican translation for Notepad++ 8.8.5
Close #17010
2025-09-30 16:59:45 +02:00
Krazal
ff8433aace [xml] Update hungarian.xml
Close #16985
2025-09-30 16:57:41 +02:00
schnurlos
d87d12ec80 [xml] Update german.xml
Close #16993
2025-09-30 16:55:29 +02:00
yasmise
e2742a0cb0 [xml] Update japanese.xml
Close #16996
2025-09-30 16:53:17 +02:00
kubalav
68ac15c55a [xml] Update Slovak translation
Close #16984
2025-09-30 16:51:10 +02:00
Marcellomco
5f805ce6aa [xml] Update brazilian_portuguese.xml
Close #17015
2025-09-30 16:46:27 +02:00
xomx
c6e1212cd6 [xml] Update czech.xml
Close #17049
2025-09-30 16:37:27 +02:00
Don Ho
bc4a4809a0 Add translation items for full read-only features
Plus some minor modifications.

Follow up: 8d585cf824
2025-09-30 04:17:26 +02:00
xomx
8d585cf824 Add 2 new full-readonly modes via CLI & apply/remove readonly for all docs cmds
CLI param: -fullReadOnly
- hybrid "toggle R/O allowed" mode where user still can manually toggle OFF the R/O-state of N++ tabs, so some selective saving of the tab filebuffers is possible

CLI param: -fullReadOnlySavingForbidden
- total "forensic" mode where user cannot toggle OFF the R/O-state of N++ tabs at all, so it is impossible to save opened tab filebuffers

Also added two new Edit-menu items for bulk tab-R/O state changing:
- IDM_EDIT_SETREADONLYFORALLDOCS
- IDM_EDIT_CLEARREADONLYFORALLDOCS

Fix #15993, fix #16532, close #17040
2025-09-30 03:06:25 +02:00
Don Ho
785018385b Enhance SQL function list parser
The new SQL parser comes from #16606, this commit updates only 2 result files to make Unit-tests pass.

Fix #16605, close #16606, close #17007
2025-09-29 21:36:02 +02:00
Don Ho
8ccec170c9 Minor change for testing sync-notifier 2025-09-29 15:42:30 +02:00
Don Ho
bee895f5ca Update Notepad_plus_msgs.h copyright
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17035
2025-09-29 15:19:31 +02:00
Don Ho
1fbff24482 Fix NPPN_CMDLINEPLUGINMSG not working issue
And define the pluginMessage usage protocol.

Fix #17024, fix #17022
2025-09-26 14:06:28 +02:00
Don Ho
f68e1d1fd3 Fix a logic error
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16889#issuecomment-3328064735
2025-09-24 14:54:43 +02:00
Don Ho
f44795a69e Fix column mode pasting to multi-selection issue due to different EOL
Fix #16889
2025-09-24 02:26:52 +02:00
Don Ho
68c27fb143 Fix Pin Tab operation being too long with many opened documents
Remove pinned tab moving forward/backward animation to prevent waiting the operation.

Fix #16117, close #17020
2025-09-23 17:44:29 +02:00
mpheath
3546a4d97e Fix DOCTYPE styling in xml and html
Fix #17012, close #17018
2025-09-22 19:53:07 +02:00
Don Ho
9510f75fda Enhance Window dialog "File Modified Time" sorting capacity
This commit enhance the commit:
5528fed4b0

Make the modified time on Notepad++ instead only on file system, so the new (untitled) document can the modified time if snapshot backup is ON.
2025-09-21 20:50:54 +02:00
Get Lit Games
5528fed4b0 Add Window dialog "File Modified Time" sorting capacity
Fix #16953, close #16954
2025-09-21 20:49:53 +02:00
Anthony Lee Stark
105a141a43 Fix double clicking on border creates a new tab issue
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16561#issuecomment-2938756492
Close #16755
2025-09-19 17:43:41 +02:00
Christian Grasser
884f8cdc06 Fix C# function list not working with comments
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/3643#issuecomment-1455254475

Close #16386
2025-09-18 22:53:51 +02:00
Don Ho
03d1268b44 Add function list ability for CSS
Close #17006
2025-09-18 15:03:32 +02:00
Don Ho
be59048c5e Fix filling Find what length not accurate problem
+ a lot of refactoring

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16955#issuecomment-3287770729

Fix #16955, fix #16992, close #17001
2025-09-18 01:14:13 +02:00
Don Ho
7a1cde702a Adjust "Find what" tooltip position for not hidding search settings
Fix #16979, close #16988
2025-09-12 20:31:21 +02:00
Don Ho
962a17e9f6 Allow user to customize max selected chars to auto-fill "Find what" field
Add "Max Characters to Auto-Fill Find Field from Selection" option to allow users to customize max selected characters for auto-filling "Find what" field in Find dialog.
The value can be set from 1 to 16383 characters (not byte).

Note that if "Select Word Under Caret when Nothing Selected" is ON, the word's length in character will be limited also by the set value.

Fix #16955, close #16983
2025-09-11 00:13:23 +02:00
Don Ho
d4442b9d15 Enhance Ctrl-F to copy to Find What field behaviour
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16976#issuecomment-3265850195
2025-09-08 16:19:40 +02:00
Don Ho
cfc3fb6cf5 Improve copy multilines to comboboxs behaviour in Find Replace Dialog
Fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16952#issuecomment-3263821316

Close #16976
2025-09-08 13:04:41 +02:00
Alan Kilborn
5c6f89df32 Add capacity of pasting multiline into Find/Replace fields
Fix #16952, close #16956
2025-09-06 22:37:27 +02:00
xomx
de7aa5ae7a Add NPP_UAC_CREATEEMPTYFILE
+ minor fixes for FileManager::deleteFile

Follow 4b0fc8d316

Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16933#issuecomment-3247142370
2025-09-04 17:16:21 +02:00
PeterCJ
b3884c18af Add NPPM_GETNPPSETTINGSDIRPATH message to get Notepad++ settings directory path
Fix #16944, close #16946
2025-09-04 02:55:28 +02:00
xomx
4b0fc8d316 Improve Notepad++ UAC operations largely
This native implementation of UAC (User Account Control) operations in Notepad++ is designed not only to substitute the deprecated & problematic NppSaveAsAdminPlugin - which interferes with the FlushFileBuffers WINAPI used by Notepad++ - but also to support any future Notepad++ feature which may require elevated privileges.

When a user attempts an operation that fails due to indufficient rights, the system performs only that specific requested action with elevated privileges. After completing it, the elevated Notepad++ instance immediately exits, returning the user to his/her original Notepad++ instance seamlessly, as if nothing unusual occured.

This mechanism is independent of any Notepad++ features such as backup-snapshot or multi-instance mode. All UAC-related operations are executed at the very beginning of the wWinMain function, ensuring they are not affected by mutex handling, or other internal logic.

Importantly, this approach eliminates the need for a separate signed helper executable like NppAdminAcess.exe. Everything is handled within the main Notepad++ project, just as before.

In this commit, the NPP_UAC_SAVE, NPP_UAC_SETFILEATTRIBUTES & NPP_UAC_MOVEFILE are implemented.

Summary of the changes:

added last _dwErrorCode in:
.\PowerEditor\src\MISC\Common\FileInterface.h
.\PowerEditor\src\MISC\Common\FileInterface.cpp

FileManager::saveBuffer adjustment for the NPP_UAC_SAVE_SIGN in:
.\PowerEditor\src\ScintillaComponent\Buffer.cpp

N++ UAC ops signatures definitions & new invokeNppUacOp common func, toggleReadOnlyFlagFromFileAttributes func adjustment for the NPP_UAC_SETFILEATTRIBUTES_SIGN in:
.\PowerEditor\src\MISC\Common\Common.h
.\PowerEditor\src\MISC\Common\Common.cpp

only to fix Notepad_plus::doSave for isEndSessionCritical() in:
.\PowerEditor\src\NppIO.cpp

added getLastFileErrorState() & m_dwLastFileError in:
.\PowerEditor\src\Utf8_16.h
.\PowerEditor\src\Utf8_16.cpp

UAC ops handling at the very start of wWinMain + added new NPP_UAC_ handling nppUacSave and nppUacSetFileAttributes funcs in:
.\PowerEditor\src\winmain.cpp

Fix #886, fix #8655, fix #9561, fix #10302, fix #14990, fix #15008, fix #15137, fix #15323, close #16933
2025-09-02 19:20:59 +02:00
Don HO
dc58d41359 Enhance Column Editor
1. Change the order of GUI items to make the insert mode (dec/hex/oct/bin) more explicit.
2. Reduce the showing time of the warning baloon tip from ~10 seconds to 3.5 seconds.
3. Use ESC keystroke to cancel the warning baloon tip.

ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16931#issuecomment-3236582042

Note that while the baloon tip showing then clicking on the upper-right 'X', the dialog won't be closed. Instead, the baloon tip will be cancel.
Curiously, clicking on the "Cancel" button under the same context closes the dialog.
The reason could be, while the "Cancel" button being clicked, the focus is changed and the system hides the baloon tip. Whereas the click on the upper-right 'X' doesn't make the focus changed, then the system does nothing.
Anyway such behaviour is a bug, but can happen very rarily.

Close #16959
2025-08-31 12:26:19 +02:00
Don Ho
06750919ac Fix column editor egression: insert column with bad parameters
The regression was introduced by: 1a0e8bea75

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16931#issuecomment-3236873787

Close #16951
2025-08-29 18:52:55 +02:00
PeterCJ
1a0e8bea75 Use radix for GUI input fields to match the output in Column Editor
Use hex/oct/bin for GUI input fields, to match the output, and allow choosing a-f vs A-F for output.

Fix #16912, close #16931
2025-08-29 13:15:47 +02:00
PeterCJ
dab30de9c6 Fix font size inconsistencies
No fontSize definitions except in Default Style, and Default Style always = 10pt

Fix #16924, close #16928
2025-08-20 14:07:05 +02:00
Alan Kilborn
5933f791c4 Prevent stale search-result from making selection inside a multibyte character
Fix #16879, close #16897
2025-08-17 22:40:35 +02:00
Don HO
4467a4c99e Notepad++ 8.8.5 release v8.8.5 2025-08-14 01:32:08 +02:00
Don HO
faaa9bee78 Notepad++ 8.8.4 release v8.8.4 2025-08-12 12:09:17 +02:00