Commit Graph

4871 Commits

Author SHA1 Message Date
ozone10 da8e48f67a Fix EOL symbol color/appearence being reset while changing encoding issue
Fix #13728, close #13763
2023-06-11 13:41:23 +02:00
Robert Di Pardo fadc083051 Enable code folding in Assembly source files
Enables the folding capabilities of Lexilla's Assembly lexer by:

 - adding the currently [unused keyword groups], `Directives4Foldstart` and `Directives4Foldend`;

b5e2e9d737/lexilla/lexers/LexAsm.cxx (L101-L109)

 - adding some fold-trigger keywords to the new `Directives4Foldstart` and `Directives4Foldend` groups, and *duplicating* them in the existing `Directives` group, following [these instructions].

 - activating a *selection* of the lexer's [optional folding properties]. Since `fold.asm.comment.explicit` is not likely to be popular, the default delimiters `;{` and `;}` are permanent, and `fold.asm.explicit.anywhere` is *not* turned on. Users who want different options can always use [Python Script] to set them dynamically.

There are plenty of *more* candidate keywords than what I've added, but I'm not very familiar with [Microsoft's macro assembler].

Fix #13758, fix #9888, close #13762
2023-06-11 12:12:14 +02:00
kubalav 2aa6b0cff5 [xml] Update Slovak translation
Close #13671
2023-06-11 01:49:12 +02:00
schnurlos 15d5c1e9c6 [xml] Update german.xml
Close #13672
2023-06-11 01:46:44 +02:00
Marcellomco 9bbcfd1354 [xml] Update brazilian_portuguese.xml
Mirror changes from "GUI Enhancement: Column Editor" to Brazilian Portuguese language.

Close #13679
2023-06-11 01:30:14 +02:00
Patriccollu ec23e4216f [xml] Update Corsican translation for Notepad++ 8.5.4
Close #13680
2023-06-11 01:28:07 +02:00
Blackspirits 8e0b326b77 [xml] Update portuguese.xml
Close #13689
2023-06-11 01:26:15 +02:00
yasmise 063a31a87c [xml] Update japanese.xml
Update translations for these commits:
* GUI Enhancement: User Define dlgs (052626c)
* Make all the localization files pretty printed (3c15ff5)
* GUI Enhancement: Plugins Admin dialog (4e0f504)
* GUI enhancement: Find in Finder dialog (af8b339)
* GUI Enhancement: General & Editing sections in Preferences dialog (a1d7db8)
* GUI Enhancement: About, Debug, Save dialogs (1806b89)
* Add "open new blank document in addition on startup" ability (61503a2)

Close #13697
2023-06-11 01:22:32 +02:00
rddim 5694b3c407 [xml] Update Bulgarian localization
Close #13707
2023-06-11 01:20:57 +02:00
Matteo Concato 1ae5745118 [xml] Update italian.xml 8.5.4
Close #13710
2023-06-11 01:19:12 +02:00
Tmp341 38d19095be [xml] Update Turkish localization
Close #13727
2023-06-11 01:17:54 +02:00
Sapziller f1ed6e6f4f [xml] update korean translate (8.5.3)
Close #13732
2023-06-11 01:15:21 +02:00
~GOLEM~ 647dd703a5 [xml] Update russian.xml v8.5.4
Close #13751
2023-06-11 01:09:02 +02:00
artpoli b335454733 [xml] Update Ukrainian translation
Close #13759
2023-06-11 01:02:47 +02:00
Don Ho e61b20a7fe Small refactoring 2023-06-11 00:59:15 +02:00
Don Ho b5e2e9d737 Fix macro recording regression on Unicode character
Fix #13757
2023-06-10 17:47:34 +02:00
molsonkiko 96ff66b225 Fix infinite loop in running macro to EOF
To test fix, try making file
```
f
f
```
and recording macro of find/replace form searching for f, then running until EOF.

This does not break any existing behavior, including:

   - macros where the cursor moves towards EOF but line num doesn't change (those already stopped after one iteration)
   - macros where line(s) are deleted with every iteration (even if line number doesn't change, they run until file empty)
   - macros where the line number increases with each iteration
   - macros where the cursor advances up or down with each iteration but would eventually stop anyway (those end at the correct time)

Fix #13342, close #13587
2023-06-08 22:20:29 +02:00
Don Ho 61503a2dcd Add "open new blank document in addition on startup" ability
To enable/disable this feature, go to New Document section of Preferences dialog, and check/uncheck "Always open a new document in addition at startup" checkbox.

Fix #11134, fix #9535, fix #5527, close #13738
2023-06-08 19:16:56 +02:00
Don Ho ccf80a0699 Add session.xml.fail2Load for analyzing
When session.xml is written while Notepad++ exit, it'll be load for checking if it's an valid xml file.
If not, then it will be replaced by the old session file (if any).

This commit renames session.xml to session.xml.fail2Load so in case of the situation user can provide session.xml.fail2Load to devs for analyzing.

Ref #13694

Close #13741
2023-06-06 13:40:17 +02:00
Don Ho dba15cfaf3 Fix document language not remembered through sessions issue
Fix document language not remembered through sessions due to languange being hidden from languages menu.

Fix #13743, close #13744
2023-06-06 02:07:19 +02:00
Christian Grasser b39ca37c3a Update: Scintilla 5.3.5 Lexilla 5.2.5
update to Scinitlla Release 5.3.5 (https://www.scintilla.org/scintilla535.zip)

    Released 31 May 2023.
    On Win32, implement IME context sensitivity with IMR_DOCUMENTFEED. Feature #1310.
    On Win32 remove dependence on MSIMG32.DLL by replacing AlphaBlend by GdiAlphaBlend. Bug #1923.
    On Qt, stop movement of IME candidate box.
    On Qt, report correct caret position within paragraph for IME retrieve surrounding text.
    On Qt for Cocoa, fix crash in entry of multi-character strings with IME.

and Lexilla Release 5.2.5 (https://www.scintilla.org/lexilla525.zip)

    Released 31 May 2023.
    Add CharacterSetArray constructor without setBase initial argument for common case where this is setNone and the initialSet argument completely defines the characters. This shortens and clarifies use of CharacterSetArray.
    Bash: implement highlighting inside quoted elements and here-docs. Controlled with properties lexer.bash.styling.inside.string, lexer.bash.styling.inside.backticks, lexer.bash.styling.inside.parameter, and lexer.bash.styling.inside.heredoc. Issue #154, Issue #153, Feature #1033.
    Bash: add property lexer.bash.command.substitution to choose how to style command substitutions. 0 → SCE_SH_BACKTICKS; 1 → surrounding "$(" and ")" as operators and contents styled as bash code; 2 → use distinct styles (base style + 64) for contents. Choice (2) is a provisional feature and details may change before it is finalized. Issue #153.
    Bash: fix nesting of parameters (SCE_SH_PARAM) like ${var/$sub/"${rep}}"}. Issue #154.
    Bash: fix single character special parameters like $? by limiting style. Issue #154.
    Bash: treat "$$" as special parameter and end scalars before "$". Issue #154.
    Bash: treat "<<" in arithmetic contexts as left bitwise shift operator instead of here-doc. Issue #137.
    Batch: style SCE_BAT_AFTER_LABEL used for rest of line after label which is not executed. Issue #148.
    F#: Lex interpolated verbatim strings as verbatim. Issue #156.
    VB: allow multiline strings when lexer.vb.strings.multiline set. Issue #151.

Close #13729
2023-06-02 14:15:54 +02:00
blu3mania 406a77a608 Fix lexer plugin is sorted unconventionally in language menu issue
Correct the logic when inserting external lexer's language into language menu,
while inserting external lexer's language into language menu, also search in submenu if compact language menu is used.
Fix also a similar issue in Preferences dialog when enabling a previously disabled language.

Fix #9516, close #13660
2023-05-31 15:39:28 +02:00
ozone10 776a3fb945 GUI Enhancement: StylerDlg & URLCtrl
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  optimize dark mode
-  fix override warnings

Fix #13705, close #13706
2023-05-30 18:42:51 +02:00
ozone10 781709a022 GUI Enhancement: Tabbar part 2
- use one tab icon size
- close button crop in RTL
- improve text positions
- font size adjustment

ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13702#issuecomment-1564296333

Fix #10349, fix #8109, close #13709
2023-05-30 01:15:49 +02:00
ozone10 e2f1662c90 GUI Enhancement: Docking Container & Function List
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  fix override warnings
-  add initializer

Fix #13703, close #13704
2023-05-29 20:23:07 +02:00
ozone10 e7f321f21a Add message NPPM_DARKMODESUBCLASSANDTHEME
to allow plugin authors to use generic dark mode.
Unfortunately not for C# plugins.
related #13572

Fix #13574, close #13596
2023-05-28 11:52:14 +02:00
ozone10 b88456764b GUI Enhancement: Tabbar
-  prefer SystemParametersInfo fonts over DEFAULT_GUI_FONT
-  fix inconsistent tab bar size values
-  add initializer
-  fix override warnings

Fix #13701, close #13702
2023-05-25 14:51:48 +02:00
ozone10 1806b8994b GUIEnhancement: About, Debug, Save dialogs
-  add accelerators
-  optimize dark mode
-  remove/comment unused variables
-  replace debug copy link with push button
-  fix override warnings
-  add initializers

Fix #13686, close #13687
2023-05-23 16:05:54 +02:00
ozone10 779db128ac GUI Enhancement: Go to Line dialog
- optimize dark mode
- simplify code
- fix override warnings

Fix #13665, close #13666
2023-05-22 13:38:21 +02:00
ozone10 a1d7db8049 GUI Enhancement: General & Editing sections in Preferences dialog
- increase width for some items for translation
- make translation consistent between source and xml files
- reorder items for consistent tab focus

Ref #13627, ref 0cad36d#r108675058
Fix #13657, fix #13676, close #13632
2023-05-22 10:19:23 +02:00
ozone10 41af936855 GUI Enhancement: Column Editor
- fix override warnings
- replace SendMessage check with isCheckedOrNot
- make translation consistent

Fix #13667, close #13668
2023-05-20 20:08:20 +02:00
Anders 8250a81d6e Fix tabContextMenu_example.xml not being deleted while uninstallation
Correctly delete tabContextMenu_example.xml in the users profile.

Fix #13670, close #13654
2023-05-19 05:43:52 +02:00
ozone10 af8b339296 GUI enhancement: Find in Finder dialog
- add key accelerator
- optimize dark mode
- add initializers
- fix override warnings

Fix #13624, close #13625
2023-05-18 10:52:13 +02:00
Bjarke Istrup Pedersen 04e85241f3 Remove old context menu ini file and attributes file
The old explorerContextMenuEntryLocal.ini file is no longer used, and
keeping it here causes confusion with people adding pull requests to
update it.
This removes it, along with the .gitattributes file, since it is no
longer needed with the ini file gone.

Close #13662
2023-05-18 07:15:27 +02:00
ozone10 4e0f50416d GUI Enhancement: Plugins Admin dialog
- add key accelerators
- remove unused define
- add initializers
- fix override warnings
- optimize dark mode
- resize listview controls based on other child controls

Fix #13622, close #13623
2023-05-18 06:29:54 +02:00
Anders 571c815b1e Fix error message on uninstallation
Only call CleanupDll if the DLL exists.

close #13653
2023-05-17 18:42:04 +02:00
Don Ho a561cd37d4 Notepad++ 8.5.3 release 2023-05-15 07:01:31 +02:00
Don Ho 50b81eadef Backup session file in case of its corruption
It could be, in certain unknown circumstances, the session file (session.xml) is saved with the incorrect characters (for example NUL characters) which leads session file corrupted and empty session loaded on the next launch. This commit makes a backup of session file before rewritting it, then check the session file after it having been writting - if written session file is corrupted, the backup session file will be restored, otherwise the backup file will be removed.

Ref:
1. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1121781830
2. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/6133#issuecomment-1544703701

Fix #13514, close #13648
2023-05-15 05:59:14 +02:00
Don Ho 34186d2e85 Fix menu strings cut off regression for some localication
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13556#issuecomment-1518197329

Fix #13556, close #13645
2023-05-15 05:51:05 +02:00
schnurlos 2577594e2c [xml] Update german.xml
Close #13642
2023-05-12 04:32:59 +02:00
Karlo-F e6a12b6a41 [xml] Update croatian.xml to v8.5.3
Close #13640
2023-05-12 04:31:03 +02:00
xomx f5d64151ef [xml] Update czech.xml to v8.5.3
Close #13635
2023-05-12 04:28:32 +02:00
Don Ho 3c15ff5783 [xml] Make all the localization files pretty printed
This commit makes all the localization files pretty printed (indent only).

Close #13631
2023-05-09 04:52:09 +02:00
Don Ho 8dd1f3a337 Revert "[xml] Standarize english.xml format by using XML pretty print"
This reverts commit dccab1f25a.
2023-05-08 16:35:03 +02:00
ArkadiuszMichalski df3080d855 [xml] Update polish.xml to 8.5.3
Close #13628
2023-05-08 04:38:47 +02:00
Don Ho dccab1f25a [xml] Standarize english.xml format by using XML pretty print
Use XML Tools plugin for formatting english.xml.
Command: via menu "Plugins -> XML Tools-> Pretty Print" command.

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13562#issuecomment-1518543453

Close #13621
2023-05-08 04:32:52 +02:00
Patriccollu f5afac3f91 [xml] Update Corsican translation for Notepad++ 8.5.3
Close #13620
2023-05-07 16:57:58 +02:00
Juan 9fce39d2b2 [xml] Update galician.xml to v 8.5.3
Close #13562
2023-05-07 16:54:49 +02:00
schnurlos d4f0fa95dd [xml] Update german.xml
Close #13539
2023-05-07 16:51:09 +02:00
Juan c9fa1742e0 [xml] Update spanish to v 8.5.3
Close #13537
2023-05-07 16:45:28 +02:00
Thomas De Rocker 97ad88227b [xml] Update dutch.xml
Close #13536
2023-05-07 16:42:34 +02:00
Matteo Concato 20aeb510a5 [xml] update italian.xml
Close #13527
2023-05-07 16:37:57 +02:00
~GOLEM~ 6b55dbd187 [xml] Update russian.xml
Close #13525
2023-05-07 16:33:47 +02:00
yasmise a699f09c50 [xml] Update japanese.xml
* Update translations for these commits:
  * Add hide/show ability of Control Characters (C0 & C1) and Unicode EOL (0cad36d)
  * Enhance Run Macro dialog (87e34c1)
  * Backup old version of shortcuts.xml (5b5c30b)
  * GUI enhancement: Find Characters in Range dialog (997ef82)
  * GUI enhancement: MD5 and SHA256 Hash dialogs (7e6c4b3)
  * GUI Enhancement: Preference Print sub-dialog (6b19445)
* Some translations are modified to be clear.

Close #13518
2023-05-07 16:29:54 +02:00
rddim 76cf3c7931 [xml] Update Bulgarian localization
Close #13515
2023-05-07 16:24:27 +02:00
Marcellomco befcbae1b4 [xml] Update brazilian_portuguese.xml
Close #13512
2023-05-07 14:28:50 +02:00
kubalav 13ef27645b [xml] Update Slovak translation
Close #13509
2023-05-07 14:23:26 +02:00
Christophe Mateos 76afd9284e [xml] Update french.xml 2023-05-07 14:19:29 +02:00
Regmos c4563eddb2 Update danish.xml
Close #13495
2023-05-07 14:06:53 +02:00
Hugo Carvalho 17fcb4d3a0 [xml] Update portuguese.xml to v8.5.2
Close #13480
2023-05-07 13:52:05 +02:00
ozone10 052626ca99 GUI Enhancement: User Define dlgs
- main dlg shared part - tab focus reorder
- string dlg (User language name, New tab name) - make edit ctrl larger
- remove obsolete style
- add initializer
- fix override warnings
- optimize dark mode
- make translation consistent between source code and english lang xml files

Fix #13615, close #13616
2023-05-07 05:50:58 +02:00
ozone10 2a21a042d1 Fix GCC warnings & add initializers
Fix #13603, close #13604
2023-05-06 05:58:58 +02:00
ozone10 2d5c241e2b Fix Change history margin in black color issue
Use Line number margin style color for Change history margin, if not defined in 'theme.xml'.

Fix #12764, fix #13593, close #13594
2023-05-04 05:03:49 +02:00
ozone10 6b194453b8 GUI Enhancement: Preference Print sub-dialog
- add initializers
- reorder controls for tab focus
- add accelerators
- make comboboxes larger
- replace variable static text with edit control
- fix override warnings

Fix #13601, fix #12812, close #13602
2023-05-04 04:25:57 +02:00
Don Ho 23a0cfb3aa Enhance shortcuts backup & warning
Commit 5b5c30b0d3 backup current shortcuts file before rewritting it, and gives a warning to users.
However, when a PC installs v8.5.3 (or later version) from scratch (ie. no v8.5.2 or previous version installed), there should be no warning and no backup.
This commit remove unnecessary cases for warning user (and backup shortcuts file).

Enhance #13589 & #13599

Close #13609
2023-05-04 04:11:54 +02:00
ozone10 7e6c4b3c6b GUI enhancement: MD5 and SHA256 Hash dialogs
- add accelerators
- add initializers
- optimize dark mod

Fix #13579, close #13580
2023-05-02 16:58:08 +02:00
ozone10 997ef821d1 GUI enhancement: Find Characters in Range dialog
- add accelerators
- add initializers

Fix #13577, close #13578
2023-05-02 04:58:52 +02:00
ozone10 61d2d36821 Make focus on edit field in Project panel File relocalizer dialog
- tab focus reorder
- optimize dark mod
- fix override warnings
- add initializer

Fix #13575, close #13576
2023-05-02 04:18:44 +02:00
Don Ho 5b5c30b0d3 Backup old version of shortcuts.xml
An enhancement (fff5f9b - it will be in v8.5.3) makes Macro & Run menu completely localizable. However, it will bring a regression and critical bug for all macro recorded by v8.5.2 and previous versions.
In order to remedy this issue, shortcuts.xml will be copied to shortcuts.xml.v8.5.2.backup before being written. So user can recover backup file if they want to back to v8.5.2 or previous version with the old data.

Fix #13589, close #13599
2023-05-01 19:26:28 +02:00
ArkadiuszMichalski ecb10712c1 Improve "Remove consecutive duplicate lines" command performance
Rewrite "Remove consecutive duplicate lines" without using regex.

Fix #5538, fix #12548, close #13558
2023-05-01 12:58:26 +02:00
ozone10 c585a1ab08 Fix incosistent key accelerator cue for groupbox in dark mode
Fix #13597, close #13598
2023-04-29 19:47:14 +02:00
ozone10 80b34f0adf Fix regression Run Macro Multiple Times cmd
Not changing times immediately from edit control.

Fix #13561, close #13563
2023-04-25 04:48:51 +02:00
Don Ho c76f178534 Fix regression of macro recording
Fix #13565, close #13570
2023-04-23 15:16:52 +02:00
doug1234 2c6c556a3a Project Workspace "Save a Copy As" confusion issue
Fix #13135, close #13303
2023-04-22 15:39:51 +02:00
Don Ho 0457a112c7 Fix regression: Key-Combos in Shortcuts Mapper displayed incorrectly
Fix #13554
2023-04-21 20:36:29 +02:00
Alan Kilborn bc7d6b26a4 Make input focus right in Shortcut dialog
Fix #13524, close #13526
2023-04-21 08:02:46 +02:00
ozone10 3cf45ec3a8 Reorder tab focus in Run dlg
Plus:
- add key accelerators.
- remove unneeded library.
- add initializers.

Fix #13540, close #13541
2023-04-21 07:55:57 +02:00
ArkadiuszMichalski 15decdb3d9 Make 'Remove consecutive duplicate lines' support more line break
Fix #13474, close #13519
2023-04-20 10:22:42 +02:00
ozone10 87e34c1f7b Enhance Run Macro dialog
- reorder tab focus.
- add key accelerators.
- optimize dark mode.

fix #13544, close #13545
2023-04-19 21:09:21 +02:00
Don Ho 1a1ce04caa Fix regression about empty combobox of Run macro dialog 2023-04-19 20:55:52 +02:00
ozone10 59c8689ff4 Fix warnings in WindowsDlg.cpp, .h files
And add initializers.

Fix #13542, close #13543
2023-04-19 19:26:15 +02:00
Andreas Falkenhahn de618df55f Add Hollywood function list into installer
Close #13547
2023-04-19 15:22:07 +02:00
Don Ho fff5f9b24c Add the UTF8 character ability for Run & Macro menu
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/13221#issuecomment-1457325172

Fix #12670, fix #13221, fix #13488, close #13538
2023-04-19 02:06:40 +02:00
Mathias Berchtold ac5657d826 Add comment line symbol for gui4cli
gui4cli uses // to comment a line.

Close #13501
2023-04-13 08:17:43 +02:00
Don Ho 96b56f61f9 Fix saving wrong macro/run menu UTF8 folder name after commands modification
The macro/run commands menu folder (submenu entry) can be UTF8 characters.
After modification of macro/run shortcut commands, the macro/run menu UTF8 folder names can be saved correctly by this commit, but in Unicode character number form instead of human readible characters.

Fix #12670, close #13516
2023-04-13 05:14:26 +02:00
Don Ho 4934b46bd7 Fix UDL deletion issue
While there are the UDL in the userDefineLangs folder (new system) and a (or some) UDL in "userDefineLang.xml" (old system). The complete UDL deletion in "userDefineLang.xml" not remove "userDefineLang.xml" file.
This PR fixes the problem.

Fix #8101, close #13513
2023-04-13 05:10:03 +02:00
Don Ho 6d917af8ba Fix installer fails to update NppShell.dll
Fix #13496
2023-04-12 00:00:02 +02:00
Alan Kilborn cca3eccea1 Fix RTL not working on FindInFiles progress window
Fix #13458, close #13490
2023-04-11 23:47:27 +02:00
ozone10 83b0b1e4ce Move uchardet file definitions from main project file to separate targets file
fix #13493, close #13494
2023-04-11 15:54:38 +02:00
ozone10 0cad36d636 Add hide/show ability of Control Characters (C0 & C1) and Unicode EOL
Fix #8111, close #13324
2023-04-11 15:35:35 +02:00
doug1234 81802e7d77 Fix search results output alignment for large file searches
Fix #13481, close #13482
2023-04-10 15:18:43 +02:00
Don Ho 14b215db76 Update slovenian.xml 2023-04-09 19:03:48 +02:00
Don Ho 81db72afb3 Fix Column Editor OK button not disabled if Text-to-Insert is empty
Fix #13315
2023-04-06 23:43:08 +02:00
Don Ho 6326340ccb Remove unecessary file 2023-04-06 14:36:00 +02:00
Don Ho 28b45ccee4 Notepad++ v8.5.2 release 2023-04-06 14:12:52 +02:00
Don Ho 9ee9046be4 Add the definition of "DEBUGGING" 2023-04-04 17:11:00 +02:00
Hugo Carvalho 9d06762a71 [xml] Update portuguese.xml
Fix #13472
2023-04-04 15:32:44 +02:00
Karlo-F 9d94b29b7d [xml] Update croatian.xml to v8.5.2
Close #13471
2023-04-04 15:31:09 +02:00
xomx a333e0bc13 [xml] Update czech.xml to v8.5.2
Close #13470
2023-04-04 15:29:25 +02:00
ArkadiuszMichalski 44a1a7d710 [xml] Update polish.xml to 8.5.2
Close #13469
2023-04-04 15:27:44 +02:00
~GOLEM~ b292e7e278 [xml] Update russian.xml v8.5.2
Close #13466
2023-04-04 15:25:06 +02:00
Sapziller 27600a7a66 Update korean translate (8.5.1)
Close #13400
2023-04-04 15:21:47 +02:00
ozone10 810ceacb49 Add dark mode to new column editor feature
Fix #13467, close #13468
2023-04-04 01:15:26 +02:00
Don Ho 0dff45568b Make uninstaller clean up better 2023-04-03 23:40:31 +02:00
Blackspirits dbe1ab2ee3 Update Portuguese translation for Notepad++ 8.5.1
Close #13432
2023-04-02 16:44:11 +02:00
Hedman 193a19ccb2 Add PowerShell block comment style in HotFudgeSundae.xml
Fix #13271, close #13273
2023-04-02 16:38:30 +02:00
schnurlos c2f18fb785 [xml] Update german.xml
Close #13409
2023-04-02 16:05:06 +02:00
Marcellomco 5518ec069a [xml] Update brazilian_portuguese.xml
Fix #13397, close #13398
2023-04-02 16:03:56 +02:00
kubalav 70d24706a5 [xml] Update Slovak translation
Close #13412
2023-04-02 16:01:06 +02:00
Alan Kilborn c7e9440179 Turn off "Match Case" and "Whole Word" options by default in Find In Finder
Fix #13415, close #13427
2023-04-02 15:51:12 +02:00
rddim ecf6eba681 [xml] Update Bulgarian localization
Close #13449
2023-04-02 15:35:27 +02:00
yasmise ef7b9360a4 [xml] Update japanese.xml
Add translations for these commits:
* Add ability to do leading spaces with ColumnEditor (7f54a4b)
* Add more items and HTML Hexadecilmal column to ASCII panel (9b67c93)
* Add hits in-progress increased number to Search Progress dialog (508b3fa)

Close #13451
2023-04-02 15:33:09 +02:00
Patriccollu c96bcbd8b7 [xml] Update Corsican translation for Notepad++ 8.5.2
Close #13455
2023-04-02 15:31:25 +02:00
Christophe Mateos a30daeb7f9 [xml] Update french.xml
Close #13463
2023-04-02 15:28:39 +02:00
Artem Polivanchuk 444c5e5a49 [xml] Update ukrainian.xml
Close #13462
2023-04-02 15:20:54 +02:00
Robert Di Pardo 38d23d36e9 [xml] Provide a default Dark Mode theme for MS Transact-SQL
Ref. https://community.notepad-plus-plus.org/post/85179

Close #13461
2023-04-02 14:33:46 +02:00
Juan 18b8c1248d [xml] Update galician.xml to v. 8.5.1
Close #13380
2023-04-02 04:55:35 +02:00
Juan f8ce71a5c9 [xml] Update spanish.xml to v. 8.5.1
Close #13376
2023-04-02 04:53:23 +02:00
Matteo Concato baef651e9c [xml] update Italian.xml v8.5.1
Close #13374
2023-04-02 04:52:05 +02:00
Karlo-F 959bb5db63 [xml] Update croatian.xml to v8.5.1
Close #13371
2023-04-02 04:49:22 +02:00
Emir SARI bedc92d022 [XML] Update Turkish translations
Small improvements, that make it more in-line with the generally
accepted Turkish software l10n.

Close #13311
2023-04-02 04:47:04 +02:00
Karlo-F 778e1f568e Add show non-printable characters style in Deep Black theme
Close #13258
2023-04-02 03:29:32 +02:00
ozone10 37a18bf3b8 Fix dock panels visual glitch
The visual glitch is caused by 'Find in Search Results'.

Fix #13402, fix #13459
2023-04-02 02:35:55 +02:00
Don Ho e28db05754 Fix "Edit with Notepad++" context menu needs restarting OS issue
Fix context menu disappears issue while update.

It works with https://github.com/notepad-plus-plus/nppShell/pull/14 to fix
https://github.com/notepad-plus-plus/nppShell/issues/13

It fixes also the added dependency of the service "Application Information".

Fix #13446, fix #13457
2023-04-01 23:59:38 +02:00
Alan Kilborn 508b3fabd6 Add hits in-progress increased number to Search Progress dialog
Fix #13364, close #13404
2023-03-31 00:12:24 +02:00
ozone10 7b4e700d49 Use the right size of icon in system tray
Fix #8971, close #13419
2023-03-30 15:29:22 +02:00
Bjarke Istrup Pedersen 2bcc32cb99 Cleanup old NppShell & adapt the new one in installer
Close #13411
2023-03-30 15:10:32 +02:00
Alan Kilborn b54b9c49ce Remember "Bookmark Line" and "Purge" options in Mark dlg through the session
Fix #13277, close #13443
2023-03-30 02:36:59 +02:00
Alan Kilborn a67a5f7170 Fix unexpected column jump post brace match
Fix #13433, close #13441
2023-03-30 02:31:10 +02:00
ozone10 24d3a69f0f Dark mode enhancement: make combobox focus more visible
Use focus rectangle for list combobox with focus.

Fix #13420, close #13421
2023-03-30 02:21:05 +02:00
doug1234 5e23a86179 Fix Mark dialog's Copy Marked Text button is not macroable issue
Fix #13405, close #13407
2023-03-30 02:13:48 +02:00
ozone10 7e4b281b8a GUI enhancement: use split button for find dlg swap/copy button
- Reorder controls for consistent tab switching.
- Fix visual glitch for checkbox button focus rectangles.

Fix #13368, fix #13021close #13372
2023-03-30 01:00:11 +02:00
Don Ho d37c7c396a Fix value in config.xml does not match user's preference in Column Editor
Fix #13370
2023-03-28 18:09:02 +02:00
Don Ho 57667d136f Update Slovenian translation 2023-03-28 12:51:13 +02:00
Don Ho 641b6e71c2 Fix XML syntax error 2023-03-27 14:15:02 +02:00
Don Ho a049009ba9 Add a philosophy quote 2023-03-27 03:21:41 +02:00
afalkenhahn d21f7cbf5c Added Hollywood support
Close #13417
2023-03-26 23:39:47 +02:00
ozone10 9b67c93ef9 Add more items and HTML Hexadecilmal column to ASCII panel
Fix #13347, close #13348
2023-03-25 02:42:00 +01:00
Alan Kilborn 7f54a4b959 Add ability to do leading spaces with ColumnEditor
Fix #11148, fix #13309, close #13336
2023-03-25 02:33:09 +01:00
ozone10 1f96776757 Fix find dialog flicker
When using Select and Find cmds first time, and find dialog is not already created.

Fix #9536, fix #13381, close #13383
2023-03-24 21:14:59 +01:00
Don Ho c59c07b4fa Notepad++ 8.5.1 release 2023-03-23 23:47:24 +01:00
Don Ho 9c15bdc236 Fix unregister modern context menu syntax error and remove concerning binaries during uninstallation 2023-03-20 00:37:44 +01:00
Bjarke Istrup Pedersen e849406806 Fix cleanup jobs problem for context menus in uninstaller
Close #13373
2023-03-19 21:00:38 +01:00
Don Ho eded6099b0 Make MS Trasact-SQL easier to be found in Style Configurator
Fix #13367
2023-03-19 19:02:57 +01:00
Don Ho 5645ca150b Integrer new Windows 11 Explorer Context Menu Entry "Edit with Notepad++" 2023-03-17 00:45:06 +01:00
Don Ho 9462238c0f Fix localization files structure error (already fixed in code) 2023-03-16 19:35:39 +01:00
Marcellomco c838741f4d [xml] Update brazilian_portuguese.xml
Close #13359
2023-03-16 19:24:15 +01:00
xomx b60231e1e6 [xml] Update czech.xml to v8.5.1
Close #13358
2023-03-16 19:07:30 +01:00
Bjarke Istrup Pedersen ce4d374a47 Add Windows 11 context menu entry "Edit with Notepad++"
This commit implements the Windows 11 context menu using the correct way of having a DLL file and a sparse package.

Fix #13320, close #13330
2023-03-16 18:47:04 +01:00
~GOLEM~ 7561864299 [xml] Update russian.xml to v8.5.1
Close #13356
2023-03-16 17:59:43 +01:00
schnurlos 626cc53209 [xml] Update german.xml
Close #13352
2023-03-16 17:56:54 +01:00
Patriccollu 8cd1559d4a [xml] Update Corsican translation for Notepad++ 8.5.1
Close #13340
2023-03-16 17:44:24 +01:00
yasmise 2fcdb6e6c5 [xml] Update japanese.xml
Update Japanese translation for these commits:
* Replace recent file ValueDlg with edit fields & fix DocSwitcher RTL problem (269e78b)
* Make tray icon context menu translatable (52d3c36)
* Add ability to copy "Find what" to "Replace with" and vice versa (12f649b)

Close #13339
2023-03-16 17:33:49 +01:00
Matteo Concato a5fdb42ede [xml] Update Italian.xml
Close #13326
2023-03-16 17:28:59 +01:00
Asx 669bbb2284 Update chineseSimplified.xml
Close #13310
2023-03-16 17:21:01 +01:00
kubalav ccbc757a4b [xml] Update Slovak translation
Close #13300
2023-03-16 17:12:05 +01:00
rddim d060b0f01a [xml] Update Bulgarian localization
Close #13299
2023-03-16 17:09:01 +01:00
Christophe Mateos f9e1a0b398 [xml] updating French translation
Close #13298
2023-03-16 17:05:18 +01:00
Don Ho e1e7196264 Add several spiritual quotes 2023-03-16 16:40:53 +01:00
zeltop 816fa3e414 Add GDScript language
Adds GDScript language support, autocomplete file, functionlist, default and dark themes.

Fix #13329, close #13335
2023-03-14 23:45:57 +01:00
Robert Di Pardo 01bbebf825 Add MS Transact-SQL
Add built-in support for Microsoft's SQL dialect, Transact-SQL, used by Microsoft SQL Server. This enables Lexilla's dedicated MS SQL lexer.
To preserve the current file extension mapping, the new lexer is mapped to the *.tsql file extension only.
Users can select "Microsoft Transact-SQL" from the Language menu to apply MS SQL Server style to scripts with the *.sql extension.

Keywords and styles copied from https://www.scintilla.org/mssql.properties

Fix #5940, fix #7988, fix #11718, fix #12610, fix #13160, close #13184
2023-03-14 01:03:37 +01:00
Christian Grasser feb454ad6f Update scintilla 5.3.4 and lexilla 5.2.4 with:
https://www.scintilla.org/scintilla534.zip

    Released 8 March 2023.
    Add multithreaded wrap to significantly improve performance of wrapping large files.
    More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477.
    Fix overlapping of text with line end wrap marker. Bug #2378.
    Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT.
    Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers.
    Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character.

lexilla523

    Released 8 March 2023.
    Add scripts/PromoteNew.bat script to promote .new files after checking.
    Makefile: Remove 1024-byte line length limit..
    Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124.
    Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182.
    Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132.
    Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134.
    Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134.
    Ruby: Improve regex and heredoc recognition. Issue #136.
    Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140.
    Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135.
    YAML: Remove 1024-byte line length limit.

https://www.scintilla.org/lexilla524.zip

    Released 13 March 2023.
    C++: Fix failure to recognize keywords containing upper case. Issue #149.
    GDScript: Support % and $ node paths. Issue #145, Pull request #146.

Close #13338
2023-03-13 21:06:09 +01:00
Don Ho 12f649bf54 Add ability to copy "Find what" to "Replace with" and vice versa
This feature use the same swap button for new added actions:
Use mouse right click on swap button to have popup menu for toggling among "Swap Replace with Find", "Copy from Find to Replace" and "Copy from Replace to Find".

Related to #12195

Fix #12122, close #13332
2023-03-12 14:11:05 +01:00
Alan Kilborn 5251d8477a Code enhancement: remove unnecessary hidden lines separator marker
Let Scintilla manage hidden lines separator and free marker 17 for plugins use.

Fix #12109, close #13223
2023-03-11 02:03:04 +01:00
Don Ho 399a8f3020 Fix tipos
Close #13323
2023-03-09 18:56:07 +01:00
Don Ho bf8b9e613e Fix x86 build error 2023-03-08 19:34:41 +01:00
Don Ho 36da61dc35 Code enhancement: remove some MSVS analysis warning (Part 5) 2023-03-08 18:35:02 +01:00
Don Ho ab5d29b6fe Code enhancement: remove some MSVS analysis warning (Part 4) 2023-03-08 00:28:42 +01:00
Don Ho f85435d962 Code enhancement: remove some MSVS analysis warning (Part 2) 2023-03-07 05:03:16 +01:00
Don Ho 0b6a8e2011 Fix an eventual crash and UDL empty button issue after changing language
The bug was inserted by the following commit:
4d217387f1

Fix #13228
2023-03-07 03:52:10 +01:00
Don Ho 25be5dd3b6 Code enhancement: remove some MSVS analysis warning (Part 2) 2023-03-06 19:33:36 +01:00
Don Ho c8e4e671da Code enhancement: remove some MSVS analisis warning 2023-03-06 17:55:53 +01:00
ozone10 34545beddd Code enhancement: enable code analysis with custom rule set
Ref https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13143#issuecomment-1434689064

Close #13168
2023-03-06 16:17:30 +01:00
ArkadiuszMichalski 52d3c36e35 Make tray icon context menu translatable
Fix #11628, close #13241
2023-03-06 15:49:55 +01:00
ozone10 b8291d4911 GUI visual enhancement: optimize dlg items redraw
Fix #13230, close #13231
2023-03-06 15:39:38 +01:00
ozone10 269e78bc1e Replace recent file ValueDlg with edit fields & fix DocSwitcher RTL problem
Remove ValueDlg class.

Fix #13244, fix #13248, close #13245
2023-03-06 14:44:50 +01:00
Don Ho 21a78ed035 Notepad++ release 8.5 2023-03-06 03:19:41 +01:00
Don Ho f923940dcc Add more translation of 'Edit with Notepad++'
Close #13265
2023-03-05 22:48:39 +01:00
ArkadiuszMichalski 20f381e506 Add langCode for English and convert passed value to one format
Fix #8927, close #13272
2023-03-05 22:18:40 +01:00
ArkadiuszMichalski dc0c8d6510 Fix visual glitch for UDL window when changing localization
Fix #10876, close #13242
2023-03-05 22:12:58 +01:00
Alan Kilborn fa9504d595 Don't populate in Find what if a stream selection more than 1024 characters
Avoid auto-population into "Find What" if "In Selection" is going to be auto-checkmarked.

Fix #12603, close #12603
2023-03-05 20:24:43 +01:00
ArkadiuszMichalski 9c0e1e4559 Fix "Recent Files" menu lost translation
Fix #9343, close #13208
2023-03-05 20:14:41 +01:00
ArkadiuszMichalski 892ab0850f Fix untitled document number jumping or repeated problem
Fix #13194, fix #8677, fix #11704, close #13204
2023-03-05 20:06:47 +01:00
Karlo-F 7789c7daf5 [xml] Update croatian.xml to 8.5
Close #13257
2023-03-05 19:54:19 +01:00
Daniel Fuchs d4f8aea5d2 Update german.xml to v8.5
Close #13262

* update translation to current workprint of english.xml
* change version scheme to a yyyy.mm.dd format for better versioning
* removed redundant comments
2023-03-05 19:53:03 +01:00
Matteo Concato e9e5f57f81 [xml] Update italian.xml
Close #13268
2023-03-05 19:17:07 +01:00
ArkadiuszMichalski 35dcffc33e [xml] Update polish.xml to 8.5
Close #13275
2023-03-05 18:47:23 +01:00
Sahid Ali Zakaria 9362e782d8 Update indonesian.xml to v8.5
Close #13282
2023-03-05 18:45:53 +01:00
ArkadiuszMichalski 568075beb5 Fix wrong value set in Preferences->Performance->"Define Large File Size"
Use correct type for file size variables.

Fix #13280, close #13290
2023-03-05 18:01:54 +01:00
Edditoria 081e8ad11b [xml] Update localization: Hong Kong Cantonese...
Close #13247
2023-02-26 23:14:56 +01:00
schnurlos 8a69ab841f [xml] Update german.xml
Close #13051
2023-02-26 21:07:40 +01:00
Thomas De Rocker d660070ac1 Update dutch.xml
Close #13148
2023-02-26 21:06:13 +01:00
Juan 4648a25138 [xml] Update spanish.xml
Close #13239
2023-02-26 21:03:59 +01:00
Juan e4b18fbcc7 [xml] Update galician.xml
Close #13240
2023-02-26 20:59:42 +01:00
Don Ho cd64850ed8 Update SUPPORTED_SYSTEM.md for Vista & Server 2008
Fix #13074
2023-02-26 20:47:23 +01:00
Hugo Carvalho 055deeb4b5 [xml] Update portuguese.xml
close #13090
2023-02-26 01:39:16 +01:00
Don Ho 7c848e89e4 Merge branch 'fix_13228' of https://github.com/ArkadiuszMichalski/notepad-plus-plus into ArkadiuszMichalski-fix_13228 2023-02-25 18:39:04 +01:00
Christophe Mateos 7cc7bcf60a [xml] Update French translation file
Close #13225
2023-02-25 18:17:04 +01:00
yasmise 642a3493fb [xml] update japanese.xml
Add translations for these commits:
* Add Begin/End Select in Column Mode command (0792452)
* Add show non-printable characters command (aaab190)
* Make Non-Print Characters show by default (dc99ce1)
* Translate 'Compact Language Menu' popup dialog (43d9f0d)
* Add option to make auto-completion list brief (9eab1f5)
* Make two items in progress dialog translatable (3f13957)
* Make categories in the Shortcut Mapper dialog translatable (f7fcab4)
* Make theme warning message translatable (switching unsaved theme to another) (0c704fd)
* Apply tab colors to document list items and add groups to document list. (37963ea)
* Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable (f403b12)
* Fix translation issue for Dock/Undock label in User-Defined dialog (9627494)
* GUI enhancement: replace auto-complete link mini dlg with slider (caff51c)
* Rename commanfd "Remove Unmarked Lines" to "Remove Non-Bookmarked Lines" (3f3aed4)
* Make "Cannot open file" message translatable (a689635)
* GUI enhancement: use edit field instead of tab size link + mini dlg (8b3f072)
* Set english.xml version right (99e7c5a)

Close #13093
2023-02-25 17:38:00 +01:00
Don Ho d4d4163cb3 Fix an eventual memory leak 2023-02-25 16:40:38 +01:00
ArkadiuszMichalski 4d217387f1 Fix Dock/Undock label when we change localization 2023-02-25 02:58:37 +01:00
Don Ho b1e1361189 Updat the translation of 'Edit with Notepad++' 2023-02-25 02:36:48 +01:00
Juan 2939039dbe [xml] Update galician.xml to v8.5.0
Close #13161

Estuve más de cuatro horas para adaptarlo al english.xml actual y son necesarios más cambios.
Espero que lo acepten para terminar de igualarlo en futuras traducciones.
2023-02-25 01:27:25 +01:00
Patriccollu 07804a8288 [xml] Update Corsican translation for Notepad++ 8.5.0
Close #13059
2023-02-25 01:19:34 +01:00
kubalav 3abd500d70 [xml] Update Slovak translation
Close #13050
2023-02-25 01:17:03 +01:00
Marcellomco dc611488e2 [xml] Update brazilian_portuguese.xml
Close #13049
2023-02-25 01:14:41 +01:00
A. Regnander 74101aa689 Update swedish.xml
Close #13025
2023-02-25 00:41:28 +01:00
Juan 2525c2d102 [xml] Update spanish.xml to v8.5.0
Close #13144
2023-02-25 00:27:27 +01:00
rddim 167e7fdd4f [xml] Update Bulgarian localization
Close #13169
2023-02-25 00:17:51 +01:00
ozone10 2bf50bc191 Add edit ctrl highlight on focus for incremental search & function panel
- Enable edit control highlight for incremental search and function panel
- add initializers

Fix #13187, close #13187
2023-02-24 23:49:42 +01:00
~GOLEM~ 8444f85c1c [xml] Update russian.xml for v8.5.0
Close #13102
2023-02-24 20:26:28 +01:00
Matteo Concato 130ccd81fc [XML] update italian.xml v.8.5.0
Close #13165
2023-02-24 18:08:46 +01:00
xomx 5a886fd60b [xml] Update czech.xml to v8.5
Close #13218
2023-02-24 17:57:56 +01:00
ArkadiuszMichalski bb260a15d7 [xml] Update polish.xml to 8.5
Close #13215
2023-02-24 16:51:16 +01:00
xomx e819b6d392 Czech translation of context menu entry
translation for #13201

Close #13212
2023-02-24 16:48:48 +01:00
Don Ho 99e7c5a84c Set english.xml version right 2023-02-24 02:59:43 +01:00
ozone10 8b3f072a38 GUI enhancement: use edit field instead of tab size link + mini dlg
Fix #11695, fix #13176, close #13177
2023-02-24 01:58:40 +01:00
ozone10 ea008dc29d Fix regression about search progress window visual glitch
Fix #13185, close #13189
2023-02-24 01:21:03 +01:00
ArkadiuszMichalski 0649ca9c57 [xml] Add RETURNING keyword to SQL
Fix #3536, close #13195
2023-02-24 00:51:29 +01:00
ArkadiuszMichalski a689635037 Make "Cannot open file" message translatable
Fix #13175, close #13190
2023-02-24 00:49:49 +01:00
Matteo Concato 81b41be647 Translate explorer context menu "Edit with Notepad++" in Italian
Close #13206
2023-02-23 22:26:29 +01:00
rddim 96030fe833 Add Bulgarian context menu entry
Close #13205
2023-02-23 21:10:05 +01:00
Don Ho a0031159cd Add new explorer context menu entry "Edit with Notepad++" for W11
Windows 11 has its new interface for its explorer context menu. It makes the old "Edit with Notepad++" command hardly accessible. This commit improves the accessibility and also fix issue of run as an administrator (Properties set in Compatibility) in the new context menu command.
It fixes also the context menu command issue under ARM64 architecture (fixed only under Windows 11).

The localization of "Edit with Notepad++" is also possible in this commit.

Note that if the command place of "Edit with Notepad++" context menu command is taken by other application ("\HKEY_CLASSES_ROOT*\shell\pintohome"), the new context menu "Edit with Notepad++" won't be installed. User should install it him/herself.

Fix #10320, fix #10565, fix #4368, fix #8786, fix #10320, fix #10640, fix #10856, fix #10653, fix #7747, fix #6169, fix #92, close #13170
2023-02-23 15:17:46 +01:00
Alan Kilborn b077c58b5d Make volatile Find uses least-strict option settings
Fix #13145, close #13159
2023-02-23 02:59:00 +01:00
mpheath 4fd972cda3 Auto-completion enhancement: reduce duplicate items in function/word list
Fix #13061, close #13098
2023-02-23 02:07:25 +01:00
Alan Kilborn 1b65cc0104 Make Select and Find (Next or Previous) always in Normal search mode
Fix #3229, close #13155
2023-02-21 18:46:20 +01:00
ArkadiuszMichalski 3f3aed43ed Rename commanfd "Remove Unmarked Lines" to "Remove Non-Bookmarked Lines"
Fix 5502; close #13149
2023-02-21 16:05:01 +01:00
ArkadiuszMichalski a0caaf83e3 [xml] Add more pseudo-classes to CSS
Fix #10517, close #13156
2023-02-21 04:25:24 +01:00
Christian Grasser b9ab516c2c Code enhancement: fix clang warnings
- reduced visibility of tagMaxLen to AutoCompletion.cpp
- fixed missing init of BoostRegexSearch::_lastDirection, adapted also _substituted
- removed unused vars Printer::_nbPageTotal, FunctionListPanel::_hTreeViewImaLst
- fileBrowser.cpp(511,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- ProjectPanel.cpp(595,35): warning : equality comparison with extraneous parentheses [-Wparentheses-equality]
- removed unused methods IsStateComment(), IsStateString() from LexObjC.cxx
- removed unused var KEYWORD_FOLDCONTRACTED from LexObjC.cxx

Close #13167
2023-02-21 02:24:33 +01:00
Alan Kilborn 5c10f58212 Fix hit text in search results being out of sight issue
Fix #13129, close #13138
2023-02-21 02:09:04 +01:00
ozone10 caff51c788 GUI enhancement: replace auto-complete link mini dlg with slider
Fix #13162, close #13163
2023-02-21 01:05:12 +01:00
Alan Kilborn 5e2f5d79aa Code enhancement: correct parameter error to call of doOpen
Fix #13150, close #13158
2023-02-20 23:21:59 +01:00
ozone10 d30b789d67 Add support for non-printing char in main Search Result dock window
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13020#issuecomment-1430034599

Close #13128
2023-02-20 17:20:04 +01:00
ozone10 278f694f3a Code enhancement: fix GCC implicit-fallthrough warnings
Fix #13142, close #13143
2023-02-17 15:00:53 +01:00
ArkadiuszMichalski 9627494043 Fix translation issue for Dock/Undock label in User-Defined dialog
Fix 8020, close #13127
2023-02-16 14:30:47 +01:00
ozone10 4a4f96cefc Code enhancement: Fix GCC warnings
- fix conversion warnings
- fix missing-field-initializers warnings
- fix unused-parameter warnings
- fix deprecated-copy warnings
- add initializers

Fix #13122, close #13123
2023-02-15 21:06:38 +01:00
Christian Grasser e163c6d0aa Code enhancement: Secure overloads
- use  _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES, like in scintilla, see description in msdn https://msdn.microsoft.com/de-de/library/ms175759.aspx
- enable SDLCheck https://learn.microsoft.com/en-us/cpp/build/reference/sdl-enable-additional-security-checks?view=msvc-170

Close #13104
2023-02-15 15:19:37 +01:00
Don Ho 52c850de74 Fix a minor GUI glitch in Preferences lg
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/13075#issuecomment-1429515246
2023-02-14 19:00:39 +01:00
ArkadiuszMichalski f403b12264 Make Context menu in Shortcut Mapper (Modify, Delete, Clear) translatable
Fix one of issues in https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8972

Close #13120
2023-02-14 17:41:02 +01:00
ArkadiuszMichalski d2ba9cae0e Add keywords and functions of PHP
Fix #13012, fix #9897, close #13111
2023-02-14 16:59:15 +01:00
ozone10 37963ea21a Apply tab colors to document list items
and add groups to document list.

Fix #12155, fix #12689, cllose #13080
2023-02-14 14:15:13 +01:00
ArkadiuszMichalski 0c704fd66b Make theme warning message translatable (switching unsaved theme to another)
Fix report from comment: #8972 (comment).

Close #13112
2023-02-14 04:37:01 +01:00
ArkadiuszMichalski f7fcab4c21 Make categories in the Shortcut Mapper dialog translatable
Fix #8858, close #13110
2023-02-14 04:19:19 +01:00
ozone10 63ba30cfe1 Code enhancement: add -Wextra flag for GCC builds
- fix ignored-qualifiers warnings
- fix inconsistent-missing-override warnings
- use -O3 flag for GCC builds to keep inline with scintilla and lexilla
- add clang default settings in props
- add clang detection in debug info

Fix #13099, close #13100
2023-02-13 23:55:35 +01:00
Alan Kilborn dbd0c43dd1 Fix missing translation for the context menu items
Fix tab-bar-drag-to-edit-area move-and-clone ("Move to Other View" and "Clone to Other View") menu items not translating.

Fix #13088, close #13097
2023-02-13 17:27:49 +01:00
ArkadiuszMichalski 3f13957f69 Make two items in progress dialog translatable
Fix part of #8004, close  #13096
2023-02-12 18:30:33 +01:00
Christian Grasser 43182e1d04 Update to Scintilla 5.3.3 and Lexilla 5.2.2
update to https://www.scintilla.org/scintilla533.zip with:

   1. Released 8 February 2023.
   2. Fix SCI_LINESJOIN bug where carriage returns were incorrectly retained. Bug #2372.
   3. Fix SCI_VERTICALCENTRECARET to update the vertical scroll position.
   4. When an autocompletion list is shown in response to SCN_CHARADDED, do not process character as fill-up or stop. This avoids closing immediately when a character may both trigger and finish autocompletion.
   5. On Cocoa fix character input bug where dotless 'i' and some other extended Latin characters could not be entered. The change also stops SCI_ASSIGNCMDKEY from working with these characters on Cocoa. Bug #2374.
   6. On GTK, support IME context. Feature #1476.
   7. On GTK on Win32, fix scrolling speed to not be too fast. Bug #2375.
   8. On Qt, fix indicator drawing past left of text pane over margin. Bug #2373, Bug #1956.
   9. On Qt, allow scrolling with mouse wheel when scroll bar hidden.

and https://www.scintilla.org/lexilla522.zip with

   1. Released 8 February 2023.
   2. C++: Fix keywords that start with non-ASCII. Also affects other lexers. Issue #130.
   3. Matlab: Include more prefix and suffix characters in numeric literals. Issue #120.
   4. Matlab: More accurate treatment of line ends inside strings. Matlab and Octave are different here. Issue #18.
   5. Modula-3: Don't treat identifier suffix that matches keyword as keyword. Issue #129.
   6. Modula-3: Fix endless loop in folder. Issue #128.
   7. Modula-3: Fix access to lines beyond document end in folder. Issue #131.
   8. Python: Don't highlight match and case as keywords in contexts where they probably aren't used as keywords. Pull request #122.
   9. X12: Support empty envelopes. Bug #2369.

update CMakeLists.txt to latest changes within vcxproj file

Close #13082
2023-02-12 17:11:57 +01:00
mpheath 9eab1f566d Add option to make auto-completion list brief
Add filter and recall autocomplete option, so list will be shorter and shorter by adding characters.

Fix #12783, close #13075
2023-02-12 03:01:56 +01:00
Don Ho 03a5c4795b Add new notification for lexer plugin
The NPPN_EXTERNALLEXERBUFFER is sent to plugins with buffer ID (idFrom) when a new lexer is applied to the buffer in question.

Fix #12351, close #13091
2023-02-11 19:20:57 +01:00
Don Ho 4d107e2691 Close doc in document list on middle mouse button up
In 94b83158dc, closing doc in document list was on middle mouse button down.
This commit make it on middle mouse button up (for aligning with closing tab behaviour in Notepad++, also with OS middle mouse button click behaviour).
2023-02-11 18:53:58 +01:00
Rubat 94b83158dc Add middle mouse click ability to close doc in Document List
Documents are closed on middle mouse click down.

Fix #12949, close #13015
2023-02-11 18:49:13 +01:00
Alan Kilborn 0d9b16634d Fix Synch H/V Scrolling commands not sync with 2 views
Fix #5250, fix #13071, close #13069
2023-02-08 01:59:21 +01:00
mpheath 9285bf2d42 Fix missing items in word autocomplete
Word autocomplete change from case sensitive search to variable search based on _ignoreCase unless language type is text. This allows text documents to retain case sensitive search to respect typed case as the issue only affects case insensitive Data/Programming languages. If normal.xml exist in the autocomplete folder then xml defaults apply for text so would be case insensitive by default unless overridden by the xml setting <Environment ignoreCase="no" />.

Fix #13060, close #13062
2023-02-07 16:03:48 +01:00
ozone10 f38195a0da Fix GCC conversion warnings
Fix #13055, close #13056
2023-02-06 20:06:56 +01:00
ozone10 296a168b3f Fix Doc Switcher bottom cut off regression
Fix #13053, close #13054
2023-02-06 19:56:41 +01:00
ArkadiuszMichalski 43d9f0d665 Translate 'Compact Language Menu' popup dialog
Fix #13026, close #13035
2023-02-06 19:37:06 +01:00
ozone10 dc99ce1035 Make Non-Print Characters show by default
Add NEL and ALM to NPC, and add note to not translate npc custom color stylename.

Close #13063
2023-02-06 19:30:14 +01:00
Don Ho 39f32bda96 Fix panels not restored from systemtray with "Edit with Notepad++" in admin mode
Continue the fix from:
afacc8338e

Eventualy fix Notepad++ not being restored on the foreground issue.

Fix #13041, close #13058
2023-02-06 15:47:22 +01:00
ozone10 aaab190763 Add show non-printable characters command
| Name                         | Codepoint | Abbreviation |
|------------------------------|-----------|--------------|
| No-Break Space               | U+00A0    | NBSP         |
| Ogham Space Mark             | U+1680    | OSPM         |
| Mongolian Vowel Separator    | U+180E    | MVS          |
| En Quad                      | U+2000    | NQSP         |
| Em Quad                      | U+2001    | MQSP         |
| En Space                     | U+2002    | ENSP         |
| Em Space                     | U+2003    | EMSP         |
| Three-Per-Em Space           | U+2004    | 3/MSP        |
| Four-Per-Em Space            | U+2005    | 4/MSP        |
| Six-Per-Em Space             | U+2006    | 6/MSP        |
| Figure Space                 | U+2007    | FSP          |
| Punctation Space             | U+2008    | PSP          |
| Thin Space                   | U+2009    | THSP         |
| Hair Space                   | U+200A    | HSP          |
| Zero-Width Space             | U+200B    | ZWSP         |
| Zero-Width Non-Joiner        | U+200C    | ZWNJ         |
| Zero-Width Joiner            | U+200D    | ZWJ          |
| Left-To-Right Mark           | U+200E    | LRM          |
| Right-To-Left Mark           | U+200F    | RLM          |
| Line Separator               | U+2028    | LS           |
| Paragraph Separator          | U+2029    | PS           |
| Left-To-Right Embedding      | U+202A    | LRE          |
| Right-To-Left Embedding      | U+202B    | RLE          |
| Pop Directional Formatting   | U+202C    | PDF          |
| Left-To-Right Override       | U+202D    | LRO          |
| Right-To-Left Override       | U+202E    | RLO          |
| Narrow No-Break Space        | U+202F    | NNBSP        |
| Medium Mathematical Space    | U+205F    | MMSP         |
| Word Joiner                  | U+2060    | WJ           |
| Left-To-Right Isolate        | U+2066    | LRI          |
| Right-To-Left Isolate        | U+2067    | RLI          |
| First Strong Isolate         | U+2068    | FSI          |
| Pop Directional Isolate      | U+2069    | PDI          |
| Inhibit Symmetric Swapping   | U+206A    | ISS          |
| Activate Symmetric Swapping  | U+206B    | ASS          |
| Inhibit Arabic Form Shaping  | U+206C    | IAFS         |
| Activate Arabic Form Shaping | U+206D    | AAFS         |
| National Digit Shapes        | U+206E    | NADS         |
| Nominal Digit Shapes         | U+206F    | NODS         |
| Ideographic Space            | U+3000    | IDSP         |
| Zero-Width No-Break Space    | U+FEFF    | ZWNBSP       |

Fix also issue with tooltips in preference dialog, when changing between dark/light mode.

Fix #827, fix #4731, fix #8284, close #13020
2023-02-05 04:20:25 +01:00
Alan Kilborn 07924528c4 Add Begin/End Select in Column Mode command
Fix #12833, fix #12832, close #13034
2023-02-04 04:46:24 +01:00
Don Ho 5aeb8abb5d Fix notepad replacement opening file name containing white space regression
Fix #13032, close #13027
2023-02-02 20:35:45 +01:00
Andreas Heim 5014edfacc Fix some issues in Pascal/Delphi function list parser
Fix #12851, close #12852
2023-02-02 18:38:40 +01:00
mpheath 62a23a8dc7 Fix autocomplete to sort case insensitive issue
Fix #12495, close #12703
2023-02-01 02:04:23 +01:00
Rubat afacc8338e Fixed dock-able panels not restoring for mono instances
The bug happens when Notepad++ is in the tray, and is restored via mono instance restore mechanism.

Fixes #9454, close #12817
2023-01-31 20:04:03 +01:00
ozone10 05977f6308 Get full product name for debug info for Windows 11
Make it consistent with earlier version of Windows.

Fix #12855, close #12856
2023-01-31 19:58:32 +01:00
ozone10 e003f5b45f Code enhancement: Use dlg resource parameters instead of reSizeTo
Fix #12857, close #12858
2023-01-31 19:54:14 +01:00
Don Ho 409c363e1a Notepad++ v8.4.9 release 2023-01-31 12:55:51 +01:00
ArkadiuszMichalski 92db94a359 [xml] Update polish.xml to 8.4.9
Close #12846
2023-01-27 02:52:38 +01:00
Edditoria 277ea770fe [xml] Update localization: Hong Kong Cantonese...
As at commit f526567 of this repo.
This is a minor update for better presentation.

Close #12848
2023-01-27 02:50:50 +01:00
Karlo-F e302ea2c9f [xml] Update croatian.xml to 8.4.9
Close #12850
2023-01-27 02:48:37 +01:00
Don Ho 6e7901ecb3 Fix folder display mess in non-western languges under Macro/Run menu
Fix #12670
2023-01-26 23:32:51 +01:00
Latt Hsiang f526567f70 Update chineseSimplified.xml
Retranslated "Function Completion" and "Word Completion"

Close #12798
2023-01-23 21:29:42 +01:00
Tmp341 4fa9aae254 Update Turkish localization
* According to 81a77f1 and 307fd2f commits.

Close #12838
2023-01-23 21:27:30 +01:00
Andreas Heim 7dab5735c3 Update german.xml
Fix #12839, close #12840
2023-01-23 15:55:34 +01:00
Tmp341 0d22c4d867 Update Turkish localization
* Checked diff between 9809e2f and aa8ae48 commits via [Compare](9809e2f..aa8ae48 (diff-a6ac7ceba70d88bf1547fd1defd760bd55052dcdb78c44f9d46d99ef1f450472)).

Close #12718
2023-01-23 04:23:43 +01:00
schnurlos e8422ec9d9 [xml] Update german.xml to v8.4.9
Fix some text & missing entries.
Included https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12710 from Karlo-F

Close #12728
2023-01-23 04:22:28 +01:00
kubalav 8673880621 [xml] Update Slovak translation
Close #12732
2023-01-23 04:21:02 +01:00
rddim ee805cadb1 [xml] Update Bulgarian localization
Close #12734
2023-01-23 04:18:35 +01:00
Christophe Mateos 80f8540d1c [xml] Update french.xml
Close #12733
2023-01-23 04:17:08 +01:00
Marcello-mco e995980349 [xml] Update brazilian_portuguese.xml
Translation for "Add setting for panels to ignore '-nosession' "

Close #12735
2023-01-23 04:15:47 +01:00
Patriccollu 31e2491c2f Update Corsican translation for Notepad++ 8.4.9
Close #12741
2023-01-23 04:13:25 +01:00
~GOLEM~ 2402871419 [xml] russian.xml update v8.4.9
Close #12746
2023-01-23 04:11:51 +01:00
yasmise f351f83290 [xml] update japanese.xml to v8.4.9
Add translations for these commits:
* Add support selection for "EOL to Space" commands (81a77f13a6)
* Add setting for panels to ignore '-nosession' (307fd2fcd2)

Close #12750
2023-01-23 04:10:24 +01:00
Edditoria 1a85a3d7d6 [xml] Update localization: Hong Kong Cantonese...
As at commit 13dfaa9 of this repo.

Close #12770
2023-01-23 04:05:58 +01:00
Hugo Carvalho 88b303f120 [xml] Update portuguese.xml
For commits: 81a77f13a6 307fd2fcd2
Other minor corrections

Close #12786
2023-01-23 04:03:51 +01:00
doufu3344 d8a3ea135d Update chineseSimplified.xml
Close #12793
2023-01-23 04:01:38 +01:00
Don Ho 01661acbaa Fix un uncomment undo regression
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12830#issuecomment-1399538801

Fix #12830
2023-01-22 18:31:28 +01:00
Don Ho eabf5d76c5 Fix cannot undo "Block Uncomment" command in one shot
Fix #12830
2023-01-22 15:55:30 +01:00
Don Ho 04f38a7af0 Fix undo "Insert Date/Time" needs 2 times to get old data back issue
Fix #12831
2023-01-22 03:56:43 +01:00
Don Ho 535bd8fa0e Use wide char version's function directely (part3)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-21 21:28:23 +01:00
ozone10 8add866460 Code enhancement: use conformant code
Fix #12818, close #12819
2023-01-21 04:32:56 +01:00
Don Ho 63d1bbae78 Fix v8.4.8 hanging while opening some Pascal files
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/12822#issuecomment-1397862706

Fix #12822
2023-01-20 05:05:54 +01:00
Don Ho 6140865351 Use wide char version's function directely (part2)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-19 04:12:29 +01:00
Don Ho 432dcb7f15 Use wide char version's function directely (part1)
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12613#discussion_r1045153278
2023-01-19 02:52:23 +01:00
Andreas Heim d476a894c2 Make Pascal/Delphi functionList more efficient and more reliable
Fix #12808, close #12811
2023-01-17 16:58:54 +01:00
Don Ho b280db88dc Add more unit tests for function list
Following the commit 7fad2a62d4
2023-01-17 15:35:38 +01:00
mpheath 7fad2a62d4 Fix exclude functions in comment zones of function list
Fix exclude functions in comment zones in C++, PHP, JavaScript and Pascal.

Fix #12759 (partially - issue 1 & issue 2), close #12799
2023-01-17 02:29:12 +01:00
ArkadiuszMichalski 1652236f32 Add selection support to TAB and Space conversion commands
Fix #12720, fix #12745, close #12739
2023-01-14 17:15:42 +01:00
Don Ho 6c3659fe73 Fix Notepad Replacement bug by simplifying its code
Fix #12775, close #12800
2023-01-14 15:30:31 +01:00
Don Ho df658a6010 Refactoring: make code more readable 2023-01-13 14:42:29 +01:00