Commit Graph

6010 Commits

Author SHA1 Message Date
Don Ho bf72b5ec4a Several enhancements for code - part II 2024-08-05 21:22:45 +02:00
Don Ho b78b3bdef0 Several enhancements for code
Close #15516
2024-08-05 15:40:44 +02:00
PeterCJ 9fb538d125 Add file type filters for UDL in Save dialogs
Fix #8083, fix #11096, close #15490
2024-08-04 12:53:30 +02:00
Alan Kilborn e17d77ceab Fix edit zone not getting focus while clicking the active tab
Move input focus to editor when clicking on already-active tab.

Fix #8446, close #15508
2024-08-03 12:29:22 +02:00
Don Ho a16261caaa Add customizable option for individual tab color
Fix #12156, close #15509
2024-08-03 00:12:23 +02:00
Don Ho 29ff2da823 Fix Style Configurator regression: "URL hovered"'s "Go to Settings" not working
Fix #15493
2024-07-28 21:46:33 +02:00
Don Ho 6b97e68cbb Refactoring - make tab color code on its correct place 2024-07-28 12:34:30 +02:00
Don Ho 6556b17ee2 Fix a typo; Make a function name & comment more accurate 2024-07-28 11:40:38 +02:00
Alan Kilborn bfe27cc860 Add the ability to open the copy after "Save a Copy" command
Fix #11861, close #15476
2024-07-26 12:32:21 +02:00
Christian Grasser d8c6350918 Update to scintilla 5.5.1 & Lexilla 5.3.3
Release 5.5.1 ( https://www.scintilla.org/scintilla551.zip )

    Released 22 July 2024.
    SCI_CUTALLOWLINE added which is similar to SCI_COPYALLOWLINE but also deletes the copied text. Feature #1518.
    Can set font used for autocompletion lists with SCI_AUTOCSETSTYLE. Feature #1523.
    Increase maximum zoom set interactively to +60 points. Feature #1517.
    Fix flickering cursor after some mouse action sequences. Bug #2443.

Release 5.3.3 ( https://www.scintilla.org/lexilla533.zip )

    Released 22 July 2024.
    ASP: Control whether ASP is enabled for XML and HTML with lexer.xml.allow.asp and lexer.html.allow.asp. Issue #252.
    JavaScript: Recognize regular expressions at start or after '>' in JavaScript when lexer is cpp, hypertext, or xml. Issue #250, Bug #918.
    JavaScript: Recognize initial #! 'shebang' line as a comment in standalone files. Issue #253.
    Lua: Fix non-ASCII identifiers joined with '.' or ':'. Issue #242.
    Lua: Fix folding for multi-line SCE_LUA_LITERALSTRING and SCE_LUA_COMMENT when performed incrementally. Issue #247.
    PHP: Control whether PHP is enabled for XML and HTML with lexer.xml.allow.php and lexer.html.allow.php. Issue #252.

Close #15466
2024-07-23 13:07:50 +02:00
Don Ho d805dcb39c Fix typo & minor changes 2024-07-20 19:55:53 +02:00
xomx 19ddb91a64 Fix cannot paste issue after removing read-only via menu
Syncronize Paste and Undo commands with file buffer read-only status.
Previously, after e.g. removing the read-only flag, file editing was possible immediately, but Ctrl-V was not. At least a cursor movement or switching between the N++ tabs or apps-switching was required (SCN_UPDATEUI message generated...).

Fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13742#issuecomment-2233570312, close #15452
2024-07-20 15:29:54 +02:00
xomx f05f4105de Fix Folder as Workspace for network storage sorting problem
Now Notepad++ ensures that the Folder as Workspace treeview sorting will be ok even for the *nix (Samba, WebDAV, WSL..) storage used.

Fix #10557, fix #15397, close #15457
2024-07-20 14:15:50 +02:00
Jiri Hruska 955b042fcb Enhance DoubleBuffer and fix the debug assert issue
Refactor DoubleBuffer, fix bugs, add comments, allow easy disabling.

Fixes #15363, close #15389
2024-07-19 19:32:54 +02:00
ozone10 bdbd65182c Replace treeview bmp with ico
- use recommended subclassing
- fix missing icons in function list when searching

ref #14959

Close #15405
2024-07-19 19:20:01 +02:00
Don Ho 4cde33048f Use std::wstring instead of generic_string 2024-07-19 04:35:14 +02:00
Don Ho d13c9bb943 Use wchar_t instead of TCHAR
For making Unicode application status more explicit.

Close #15459
2024-07-19 01:04:42 +02:00
Don Ho a427ace34c Use explicite L to replace TEXT - part 2 2024-07-18 21:39:08 +02:00
ozone10 8866d4b7fe Add dpi support for panel tab and caption
- use recommended subclassing for docking panel tab and caption
- remove unused function

ref #14959

Close #15394
2024-07-18 19:39:28 +02:00
Don Ho 3bca7bf278 Use L"" instead of TEXT("") - Part 1 2024-07-18 05:26:20 +02:00
ozone10 ea5e36a5be Add missing localization for debug info dialog and print error
Fix #15375, fix #15105, close #15416
2024-07-17 00:41:46 +02:00
Don Ho 108b9f0d24 Improve description for settings "Backup"
Fix #14560, close #15351
2024-07-15 00:34:35 +02:00
Don Ho 0858dfa4af Use GetFileAttributes instead of PathFileExists
Ref: https://github.com/notepad-plus-plus/nppShell/pull/64#discussion_r1664890166
Ref: https://devblogs.microsoft.com/oldnewthing/20071023-00/?p=24713

Fix #14839, close #15400
2024-07-14 22:50:00 +02:00
Don Ho ac67f15c2b Fix closing unsaved clone document makes periodic backup lost issue
And change the behaviour of closing a cloned document: there's no more "Save or not" dialog appears.

Fix #8227, close #15409
2024-07-14 21:14:44 +02:00
Don Ho 439bbb04d2 Make C-Like indent deactivatable
Add one more option for auto-indent so user can choose among "none", "basic" & "advance".
Also add the indentation section in Preferences dialog.

Fix #15396, close #15414
2024-07-14 21:10:13 +02:00
Don Ho 761060819f Notepad++ v8.6.9 release 2024-07-14 04:42:28 +02:00
Don Ho 504e4ca5df Fix periodic backup's disfunction regression for the main view
The regression was introduced in:
97279d024f (diff-5f6ec155ff896fe5cab66dcf3e3f99c2b72d2498dda4cb68a4002da4468cabda)
2024-07-07 05:17:50 +02:00
schnurlos 1c47c368b8 [xml] Update german.xml
Modified backspace description.

Close #15353
2024-07-05 16:25:19 +02:00
Hugo Carvalho f47b0e8d2f [xml] Update portuguese.xml
Close #15393
2024-07-05 16:20:49 +02:00
Matteo Concato 163e2712ed Update italian.xml
Close #15395
2024-07-05 16:17:30 +02:00
rddim 955f31562a [xml] Update Bulgarian localization
Close #15401
2024-07-05 15:27:13 +02:00
ArkadiuszMichalski 89910d0bfe [xml] Update polish.xml to 8.6.9
Close #15404
2024-07-05 15:11:04 +02:00
ozone10 5501485c0b Add ability to pre-populate the predefined color sets to the custom tone
Allow to reset custom tone colors with other predefined color sets.

Fix #15055, close #15387
2024-07-02 15:20:35 +02:00
Don Ho c2da907f34 Fix comiling error in msys2
Close #15388
2024-07-02 00:17:57 +02:00
Don Ho dbef8cea91 Solve compiling error & fix a regression of "new #"
The regression is introduced by:
f7d9e7c095 (diff-2d5c277be2799a7e43a90232d8ef9add2e788e252c8692bf9416abc69836957d)
2024-07-01 21:02:27 +02:00
Don Ho a301ffc774 Remove ambiguous symbols (part 9)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271

Close #15386
2024-07-01 20:19:21 +02:00
Don Ho dc5cea8947 Remove ambiguous symbols (part 8)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271

Close #15385
2024-07-01 19:58:07 +02:00
Don Ho 88bd09e67d Remove ambiguous symbols (part 7)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271

Close #15381
2024-07-01 16:33:00 +02:00
Don Ho f7d9e7c095 Remove ambiguous symbols (part 6)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.

Follow up: 94af271

Close #15380
2024-07-01 00:38:07 +02:00
Don Ho 3c897f892a Remove ambiguous symbols (part 5)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271

Close #15379
2024-07-01 00:34:44 +02:00
Curious Insatiable 4d8ef955e2 Update french.xml
Essentially there are many deletions of capital letters in the middle of sentences (non-compliant in French)
Replacing the apostrophes ' with ' (alt+0146) (to make it prettier)
Replacement of "" (") by French quotation marks "" (alt+174 & alt175)(to make it prettier too)
Some formulations which were not very clear, or even incorrect.

Close #15355
2024-06-30 01:34:46 +02:00
Don Ho 97279d024f Remove ambiguous symbols (part 4)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271
2024-06-30 01:10:36 +02:00
Don Ho 10deb9970c Remove ambiguous symbols (part 3)
Relace TCHAR, generic_string & TEXT("") par wchar_t, wstring & L"" respectively.
Follow up: 94af271be9

Close #15378
2024-06-29 22:16:45 +02:00
Don Ho 0842c991d3 Remove ambiguous symbols (part 2)
Replace  TEXT("") and _T('') by the L"".
Follow up 94af271be9

Close #15377
2024-06-29 22:07:21 +02:00
WildByDesign a68362b48f Fix Replace Icon
Replace icon (findrep_off.ico) Dark Filled and Light Filled both had an additional 3 duplicate layers in the icon file.
Reported here: 53d87d4f62 (commitcomment-143611882)
Those duplicate layers have been removed.

Close #15373
2024-06-29 18:05:55 +02:00
Don Ho 94af271be9 Remove ambiguous symbols
The "ambiguous" symbols (TCHAR & generic_string) are used when Notepad++ suppoted both ANSI & Unicode formats.
Since ANSI format of Notepad++ has been dropped (since long time ago), TCHAR & generic_string will be replaced by wchar_t & wstring respectively.

Close #15371
2024-06-28 18:47:40 +02:00
xomx 982f52224c Add the possibility for opening a shortcut file if change file ext
Do not recognize files without lnk-extension as Windows shortcuts.

Fix also https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15211#issuecomment-2156495651

Fix #9643, fix #11089, fix #10139, close #15364
2024-06-28 18:19:11 +02:00
WildByDesign d0f5742664 Fluent Icons - Wrap - Alignment Fix
Close #15370
2024-06-27 23:01:46 +02:00
A. Regnander dfe31e5099 Update swedish.xml
Close #15367
2024-06-27 16:25:23 +02:00
xomx 3c3e7cdadd Fix Encoding "Convert to..." regression
Fix incorrect Clipboard handling. This commit fixes possibly #9426

Fix #15324, fix #15271, fix #3054, close #15346
2024-06-27 14:54:09 +02:00