Commit Graph

5968 Commits (d84f9b20489e294e11ef0da2919c4127fb54f4e9)

Author SHA1 Message Date
Don Ho d84f9b2048 Fix Styler Configurator performance issue considerably
Improve Styler Configurator modification application performance considerably.

While one of dockable Panels (Folder as Workspace, for example) is loaded heavily, any action (checkboxes & comboboxes) on Styler Configurator reacts very slowly - for example, check "Bold" in "Font Style".
This commit makes difference among the operations, and optimizes each action in Styler Configurator.

Fix #12436, close #15560
2024-08-21 23:24:29 +02:00
Don Ho c1954e5c44 Fix "User-defined keywords" not being saved properly (Style Config)
When "User-defined keywords" field has been set keywords, removing all keywords then saving doesn't have any change (the keywords are kept after saving). The commit fix it.

Fix #15543, fix #14303
2024-08-16 17:20:20 +02:00
PeterCJ 9e4290094d Add user-defined keyword ability for some supported programming languages
Add new SubStyles and their available keyword lists to specific languages:
- Enable 8 Scintilla's SubStyles (each), which allow for new keyword lists and styles for the languages with SubStyles available: ActionScript, ASP, Bash, C, C++, C#, GDScript, Go, HTML, Java, JavaScript (standalone and embedded), JSP, Lua, PHP, Python, Resource (RC), Swift, TypeScript, and XML.
- The new SubStyles have been added to `langs.model.xml`, `stylers.model.xml`, and the themes, which means users can just use the StyleConfigurator for the SubStyles, just like they do for the original Styles.

Fix #15520, close #15537
2024-08-14 20:01:36 +02:00
WildByDesign 2d79edca95 Enhance FunctionList, FaW & project panels' icons in lite mode
Add Fluent Icons for light mode treeview.

Close  #15541
2024-08-14 15:09:47 +02:00
ozone10 f751ecaf04 Add fluent icons for treeview
ref #14959

Close #15532

Signed-off-by: ozone10 <positronix10@gmail.com>
2024-08-11 23:31:56 +02:00
Alan Kilborn ae1d09cab8 Improve Python smart indent in case of string
Improve Python smart indent by using style context.

Fix #15534, close #15535
2024-08-11 17:30:59 +02:00
Alan Kilborn 48a2b30c13 Fix Python smart indent wrongly when comment line ends in colon
Fix #15528, close #15529
2024-08-10 00:18:09 +02:00
Don Ho 72751182bf Several enhancements for code - part III 2024-08-06 21:51:07 +02:00
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 "" (&quot;) 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