Commit Graph

4118 Commits (aad36afc6bf4177ed6532086acf5f393de1f1b8f)

Author SHA1 Message Date
Hugo Carvalho dcf8b790a1 Update portuguese.xml
For commit: 059bca3315

Close #11888
2022-07-14 20:51:13 +02:00
kubalav 49f6ee389c Update Slovak translation
Close #11892
2022-07-14 16:35:48 +02:00
rddim 1834662ef9 Update Bulgarian localization
Close #11909
2022-07-14 16:33:24 +02:00
~GOLEM~ a44b9b6cf9 Update russian.xml
Close #11914
2022-07-14 16:30:08 +02:00
yasmise bf6294a7ee Update japanese.xml
Add translation for this commit:
* Add some shortcuts in Styler Configurator to preferences dialog (67ab4d5527)

Close #11917
2022-07-14 16:28:10 +02:00
schnurlos 68e35dadf6 Update german.xml
Following 67ab4d5527

Close #11918
2022-07-14 16:26:39 +02:00
Don Ho 67ab4d5527 Add some shortcuts in Styler Configurator to preferences dialog
Shortcuts to Preferences dialog are added only for the following styles (Global Styles):

1.  "Current line background colour"
2.  "Caret colour"
3.  "Edge colour"
4.  "Line number margin"
5.  "Bookmark margin"
6.  "Fold"
7.  "Fold active"
8.  "Fold margin"
9.  "Smart Highlighting"
10. "Tags match highlighting"
11. "Tags attribute"
12. "Mark Style 1"
13. "Mark Style 2"
14. "Mark Style 3"
15. "Mark Style 4"
16. "Mark Style 5"
17. "URL hovered"
18. "EOL custom color"

Fix #11890, close #11904
2022-07-12 18:57:20 +02:00
Don Ho 57bb83846b Add "Notepad++ Online User Manual" into the shortcut mapper 2022-07-11 03:36:45 +02:00
Don Ho e6fe568bbf Fix crash during Search result
Fix #11883, close #11889
2022-07-09 18:37:30 +02:00
Don Ho c7c5db7c51 Notepad++ v8.4.3 - Unhappy Users' Edition 2022-07-08 04:26:57 +02:00
György Bata c284534e08 Hungarian translation update for 8.4.3
Close #11876
2022-07-08 02:05:55 +02:00
ArkadiuszMichalski bcb1035948 Update polish.xml to 8.4.3
Close #11880

Update polish.xml to 8.4.3 according to the last commit.
2022-07-08 02:03:36 +02:00
Don Ho c63169eabc Restore Search result folding's old behaviour
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11814#issuecomment-1175359785
2022-07-06 01:53:17 +02:00
xomx 5bab2b5746 Update czech.xml for v8.4.3
Added only the id 6906 - "Search Result window: show only one entry per found line".

Close #11871
2022-07-05 19:48:13 +02:00
Don Ho 0b5785cbec Fix a fording perf issue in Search result windows
Ref:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11814#issuecomment-1174732649

Fix #11814
2022-07-05 19:43:16 +02:00
rddim 2a7552c882 Update Bulgarian localization
Close #11850
2022-07-04 05:00:33 +02:00
Karlo-F 09df963a1a Update croatian.xml
Close #11859
2022-07-04 04:57:47 +02:00
Don Ho de75f56676 Processing WM_CLOSE with the right return value
Ref:
https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-close
2022-07-04 04:52:06 +02:00
Don Ho 5c6fbd3310 Fix "Style Configurator..." command makes Notepad++ crash
If "stylers.xml" is not loaded, launching "Style Configurator..." command will make Notepad++ crash.
This commit fix this issue.

Fix #11812
2022-07-02 17:19:17 +02:00
Edditoria 4a32234e5f Update localization: Hong Kong Cantonese
As at commit ed4bb1a of this repo.
Also follow-up the PR #11802

Close #11852
2022-06-30 23:25:10 +02:00
kubalav 965f812234 Update Slovak translation to 8.4.3
Close #11864
2022-06-30 18:58:33 +02:00
popcorner 9781b34bc0 Update chineseSimplified.xml
Close #11858
2022-06-30 18:00:45 +02:00
Christophe Mateos 1bd22fae7c Update french.xml
Close #11849
2022-06-30 17:56:04 +02:00
Don Ho 059bca3315 Fix 1 entry per line in Search result UTF8 marked wronly issue
Fix CJK, Hebrew, Arabic and other Languages in UTF8 marked wronly issue in in Search result while "1 entry per line" option enabled.
The option in question can be enabled in RTL mode now with this commit.
2022-06-30 17:29:39 +02:00
Don Ho 980cbcccc6 Fix search results are wrongly positioned in CJK languages
Fix  #11855
2022-06-30 03:10:07 +02:00
Christian Grasser ed4bb1a93e Update lexilla to 5.1.7 & Scintilla to 5.2.3
Use new interfaces SCI_FORMATRANGEFULL, SCI_GETTEXTRANGEFULL, SCI_FINDTEXTFULL from scintilla 5.2.3

Close #11734
2022-06-28 16:19:19 +02:00
Artem Polivanchuk 3a2ef5cff9 Update ukrainian.xml
Update Ukrainian translation based on version 8.4.1

Close #11845
2022-06-28 01:47:50 +02:00
xomx 355e06591f Update czech.xml to v 8.4.3
Close #11827
2022-06-28 01:45:23 +02:00
Tmp341 5b1c2c1949 Update Turkish localization
* According to c32da95, ad8b179, e8817ea, d3b026b, 33ab652, d65967d and 79e7667 commits.

Close #11821
2022-06-28 01:43:56 +02:00
Edditoria ed545cb24c Update localization: Hong Kong Cantonese...
As at commit d1347d5 of this repo.
This commit does not bump version.

Close #11802
2022-06-28 01:40:25 +02:00
Karlo-F 7ec8aa285c Update croatian.xml for 8.4.3
Close #11799
2022-06-28 01:39:14 +02:00
Patriccollu 27d57e8caf Update Corsican translation for Notepad++ 8.4.3
Close #11788
2022-06-28 01:38:03 +02:00
~GOLEM~ 226a41e792 Update russian.xml for v8.4.3
Close #11784
2022-06-28 01:36:35 +02:00
yasmise e6dab70ec3 update japanese.xml
Add translations for these commits:
* Use edge colors in dark mode for listbox border (d65967deab)
* Make EOL (CRLF) display customizable (79e766755d)
* Update localization files (2258274780)

Close #11775
2022-06-28 01:34:10 +02:00
rddim f50ddf8297 Update Bulgarian localization
Close #11772
2022-06-28 01:32:05 +02:00
Hugo Carvalho 4a8d7b11dd Update portuguese.xml
Commit: d65967deab

Close #11770
2022-06-28 00:54:12 +02:00
kubalav 2d1874de40 Update Slovak translation to 8.4.2
Close #11768
2022-06-28 00:49:21 +02:00
Christophe Mateos 0d6958a5ab Update french.xml
From June the 5th commits

Close #11769
2022-06-28 00:47:18 +02:00
Markus Bodensee 6643e1a174 Update german localisation
Add translation for item 6246 (current level folding/unfolding).
Add/update translations for dark mode items.
Synchronise translation of "commands" to "Befehle" to have same word in all places.

Close #11738
2022-06-28 00:44:54 +02:00
popcorner 9de65fb6f3 Update chineseSimplified.xml
Close #11737
2022-06-28 00:41:37 +02:00
Thomas De Rocker 9cc7bddd2e Update dutch.xml
Close #11655
2022-06-28 00:40:16 +02:00
Don Ho e8ed195aac Exclude an unstable version of one plugin from the installer
Ref:
https://community.notepad-plus-plus.org/topic/23100/notepad-8-4-2-64-bit-suddenly-closes-for-no-reason
2022-06-27 22:23:30 +02:00
xomx 7917d0d974 Fix "CMD Here" command open Explorer issue
Better specify the cmdline interpreter:
This solves a possible confusion in between the cmdline interpreter and the possible folder named "cmd"' for the ShellExecute WINAPI.

Fix #11818, close #11833
2022-06-27 17:22:09 +02:00
xomx 9d69db9b15 Fix a crash issue due to opening an empty .NFO file
There was an infinite recursion for such empty files, when the default setting for new files was UTF8.

Fixes #11820, close #11824
2022-06-27 06:01:33 +02:00
Don Ho 2258274780 Update localization files 2022-06-26 20:01:22 +02:00
Don Ho 08128ee36a Add an option allows to show only 1 entry per found line in search result
Also mark several found occurrences in the same entry - user can click on the marked occurrence to jump among found result in the found line.
This option is enabled by default. It can be disabled in "Searching" section of Preferences dialog.

It's an alternative implementation of #11705

Fix #2481, fix #1499, fix #5547, fix #2987, fix #4525, fix #3224, close #11808
2022-06-26 18:41:05 +02:00
Don Ho 3b04793097 Fix Find in files performance regression since updating Scintilla 5
It's due to the folding the previous result before the begin of search.
For the unknown reason there's performance issue if folding action is at this place for Scintilla 5.

Fix #11814
2022-06-18 18:10:04 +02:00
dail8859 f1ed4de78d Add NPPM_CREATELEXER message for plugins to instantiate lexers
Fix #11789, close #11790
2022-06-14 22:55:27 +02:00
Don Ho f69a9093f9 Fix x64 build error 2022-06-14 15:39:10 +02:00
Don Ho d0b2a9ff9d Skip save all warning dialg if only current editing file is dirty
Here is the behaviour of this commit:
1. If there's only one file dirty, and it's current editing one, then SaveAll dialog won't display.
2. If there's only one file dirty, and it's NOT current editing one, then SaveAll dialog WILL display.
3. If there's 1 editing file which is dirty, and its clone (dirty also) is on the other view, then SaveAll dialog WILL display.

Fix #10995
2022-06-14 02:52:52 +02:00
Don Ho d1347d5014 Use "Max Speed" compiling optimization instead of "Full" compiling optimization
Use \Os instead of \Ox and fix the incoherent settings for the program optimization.

Fix #11778
2022-06-13 19:55:26 +02:00
Don Ho 2d7b2093a1 Fix font definition for languages regression in Style Configurator
Defining font for languages is no more possible in Style Configurator.
This regression is due to commit 1567847 (PR #10483).

Fix #11786, close #11787
2022-06-13 18:41:17 +02:00
Don Ho 79e766755d Make EOL (CRLF) display customizable
Fix #11413, close #11773
2022-06-12 19:41:09 +02:00
ozone10 f517c6c053 Enhance dark mode support for plugins
- Add support for 3 state checkbox buttons.
- Add support for plugin custom draw for listview subitems.
_ Apply correct colors on listbox.

Enhancement to #11711.
Based on information from https://community.notepad-plus-plus.org/topic/23080/impact-analysis-of-generic-darkmode-rendering-of-plugin-dock-panels-from-pr-11711.

Close #11767
2022-06-08 02:29:46 +02:00
Don Ho 82b78ff7b8 Fix error from commit b6efff4 2022-06-07 01:23:32 +02:00
Don Ho b6efff4157 Fix Selected text changes color issue when editor window loses focus
Fix #11743
2022-06-07 01:08:20 +02:00
ozone10 d65967deab Use edge colors in dark mode for listbox border
1. use edge colors in darkmode for edit control border.
2. tweaks to properly drawn listbox scrollbar, when using custom border.
3. disabled edge color to dark mode preference dialog.
4. use disabled edge color for disabled combobox.

Fix #11207, fix #11376, close #11756
2022-06-06 20:25:17 +02:00
ozone10 2c0134ef5a Add plus and arrow (drop down list of opened files) buttons on menu bar
1. Add plus and arrow buttons on menu bar beside of 'X' button:
   - plus button: for adding a new document
   - arrow button: display a drop down list for all opened files to offer users quick access of switching file
2. Enhance the most recent opened file list: Increase maximun file number to 30.

Fix #11229, close #11757
2022-06-05 15:44:05 +02:00
Don Ho 33ab652395 Make dark mode support for plugin by default
And remove the GUI option to disable this feature.
(based on d3b026bfeb)
2022-06-05 03:51:34 +02:00
ozone10 d3b026bfeb Add dark mode support for plugins
Support dark mode for plugins with docking GUI.

Fix #11710, close #11711
2022-06-05 03:39:28 +02:00
Shridhar Kumar b204be9012 Fix a small regression in DebugInfo dialog
Remove "$COMMAND_LINE_PLACEHOLDER$ from the copied DebugInfo text.

Fix #11752, close #11753
2022-06-04 18:14:57 +02:00
Don Ho a02a254ea1 Notepad++ 8.4.2 release 2022-06-03 18:28:42 +02:00
Don Ho 2d47c8d340 Fix an order error in toolbarIcons.xml 2022-06-03 04:27:45 +02:00
Don Ho b5479bb9b0 Fix Plugin Admin not showing on menu due to certificate checking problem
* Fix certificate checking problem: the old certificate has been expired. In v8.4.2 Notepad++ & its components are signed by the new certificate. The certificate is checked before launching WinGUp (updater) to compare with the certificate key value stored in Notepad++. Updating certificate key value fixes the problem of WinUp validation, so Plugin Admin can be shown on the menu.
* Fix a typo.

Fix #11742
2022-05-29 17:23:31 +02:00
Edditoria 5354f61f8e Update localization: Hong Kong Cantonese...
As at commit a630b63 of this repo.

Close #11708
2022-05-27 14:48:09 +02:00
ArkadiuszMichalski bcebfe15ea Update polish.xml to 8.4.2
Update polish.xml to 8.4.2 according to the last commit.

Close #11731
2022-05-27 04:24:24 +02:00
rddim 6613a6da15 Update Bulgarian localization
Close #11675
2022-05-27 04:21:43 +02:00
A. Regnander dc0e5740c5 Update swedish.xml
Close #11707
2022-05-27 04:19:02 +02:00
Don Ho fa3ba7e389 Fix customizing toolbar icon messed with dark mode
Ref:
d85b9a7464 (commitcomment-74498214)
2022-05-27 04:06:11 +02:00
xomx b25f37646d Update czech.xml to v8.4.2
Close #11727
2022-05-26 15:37:14 +02:00
Mathias Berchtold 4487171c3f Add gui4cli keywords and fix style IDs in stylers.model.xml
Close #11712
2022-05-26 03:15:26 +02:00
Patriccollu c55026cd45 Update Corsican translation for Notepad++ 8.4.2
Close #11722
2022-05-26 02:48:59 +02:00
~GOLEM~ 91fdc8b1d6 Update russian.xml to v8.4.2
Close #11689
2022-05-26 02:47:25 +02:00
yasmise 44e7f283ee update japanese.xml to v8.4.2
Add translations for these commit:
* Add edge highlight color in customized dark colors of Preferences dialog (ad8b1791b4)
* Update localization files (e8817eacd0)

Close #11686
2022-05-26 02:45:50 +02:00
kubalav d491bb431a Update Slovak translation
Close #11672
2022-05-26 02:44:54 +02:00
Hugo Carvalho 0b41f4f5c8 Update portuguese.xml
Close #11668
2022-05-26 02:43:40 +02:00
Edoardo Lolletti 3b208743bd Display the accurate OS version in DebugInfo (for Windows build 21H1 and greater)
Query for DisplayVersion as well instead of using only ReleaseId.

Windows deprecated the ReleaseID registry entry (now it is no longer updated and on newer Windows 10/11 builds will remain the same) and moved to use DisplayVersion.
Attempt now to first query DisplayVersion and in case that is missing, fall back to ReleaseID for older Windows 10 builds.

Close #11714
2022-05-26 02:29:53 +02:00
Don Ho ddbb75f0f7 Make Plugin Admin exception message more clear 2022-05-25 19:27:18 +02:00
Robert Di Pardo d6595ad836 Make Plugins Admin work with MinGW in debug mode binary
Convert path to nppPluginList.json with ::wstring2string().

Unlike MSVC [1], MinGW GCC doesn't provide file stream constructors
for wchar_t* paths [2].

 ---
 [1] https://stackoverflow.com/a/822032
 [2] https://sourceforge.net/p/mingw-w64/mailman/message/34249829

Fixes #11687, close #11701
2022-05-25 18:37:21 +02:00
Don Ho e8817eacd0 Update localization files 2022-05-25 03:57:32 +02:00
Christophe Mateos ee707ca67e Update french.xml
Close #11677
2022-05-25 02:34:19 +02:00
Don Ho 96590a6f94 Fix win32 build due to the previous commit 2022-05-24 19:00:52 +02:00
Don Ho d85b9a7464 Make toolbar icons customizale
This is the enhancement of a long time forgotten feature.

To override the current toolbar icons, we needs 2 things: "toolbarIcons.xml" file and one icons set.
Here are the instructions to customize toolbar icons:

1. Put the file "toolbarIcons.xml" (Note 1) in the same folder of "config.xml" file (Note 2).
2. Create a new folder "toolbarIcons" in the folder where you put "toolbarIcons.xml" file.
3. Edit the file "toolbarIcons.xml": put the icon set name you want in "icoFolderName" attribute (Note 3).
   for example: `<ToolBarIcons icoFolderName="myAwesomeIcons" />`
4. Go into "toolbarIcons" folder and create a new folder with the exact name of the icon set name you provided in "icoFolderName".
5. Put all your customized icons into "[toolbarIcons.xml's folder]\toolbarIcons\myAwesomeIcons\".
6. Now it's the magic moment: Relaunch Notepad++ and you'll see your icon set instead of the default icons.

Note:
1. The content of "toolbarIcons.xml" is following:
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<NotepadPlus>
    <ToolBarIcons icoFolderName="nppLagacyIcons" />
</NotepadPlus>
```
2. If you find the file "doLocalConf.xml" in the Notepad++ installed directory, you will find the "config.xml" in Notepad++ installed directory. Otherwise it should be in "%APPDATA%\Notepad++\" directory.
3. if "icoFolderName" value is an emptty string, the path of icons will be in "[toolbarIcons.xml's folder]\toolbarIcons\default\" folder.

Each replacing icon (45 icons) has the fixed and specific name:

| index |  Normal icon             |  Disabled icon                  |
|-------|--------------------------|---------------------------------|
|1      |  new.ico                 |                                 |
|2      |  open.ico                |                                 |
|3      |  save.ico                |  save_disabled.ico              |
|4      |  save-all.ico            |  save-all_disabled.ico          |
|5      |  close.ico               |                                 |
|6      |  close-all.ico           |                                 |
|7      |  print.ico               |                                 |
|8      |  cut.ico                 |  cut_disabled.ico               |
|9      |  copy.ico                |  copy_disabled.ico              |
|10     |  paste.ico               |  paste_disabled.ico             |
|11     |  undo.ico                |  undo_disabled.ico              |
|12     |  redo.ico                |  redo_disabled.ico              |
|13     |  find.ico                |                                 |
|14     |  replace.ico             |                                 |
|15     |  zoom-in.ico             |                                 |
|16     |  zoom-out.ico            |                                 |
|17     |  sync-vertical.ico       |                                 |
|18     |  sync-horizontal.ico     |                                 |
|19     |  word-wrap.ico           |                                 |
|20     |  all-chars.ico           |                                 |
|21     |  indent-guide.ico        |                                 |
|22     |  udl-dlg.ico             |                                 |
|23     |  doc-map.ico             |                                 |
|24     |  doc-list.ico            |                                 |
|25     |  function-list.ico       |                                 |
|26     |  folder-as-workspace.ico |                                 |
|27     |  monitoring.ico          |  monitoring_disabled.ico        |
|28     |  record.ico              |  record_disabled.ico            |
|29     |  stop-record.ico         |  stop-record_disabled.ico       |
|30     |  playback.ico            |  playback_disabled.ico          |
|31     |  playback-multiple.ico   |  playback-multiple_disabled.ico |
|32     |  save-macro.ico          |  save-macro_disabled.ico        |

It's not necessary to have all complete set (45 icons). The absent icons won't just be substituted.

Fix #9913
2022-05-24 17:57:38 +02:00
Don Ho 05dae4a720 Make fold/unfold current line commads togglable
Add an option "Make current line folding/unfolding commands togglable" in Editing section of Preference dialog to make both Collapse/Uncollapse Current level commands togglable.

Fix #11529, fix #9196, close 11699
2022-05-21 02:23:03 +02:00
Don Ho e701c208a6 Fix regression in Alt icons settings
The regression is Caused by 6729739.

Fix #11703
2022-05-20 16:20:59 +02:00
Don Ho 3750cf8fa3 Fix horizontal scrolling with scroll wheel on Logitech MX issue
Fix #10490, close #11700
2022-05-20 15:05:13 +02:00
Shridhar Kumar b3a9ec5dfe Fix a small regression of DebugInfo
Select the entire DebugInfo text, with the command line params inserted.

This is a minor fix for an issue resulting from the last-minute changes in commit 0f8d572 (Add command line argument for plugin, a related notification and an API).

Close #11697
2022-05-20 02:24:18 +02:00
Don Ho 10f48e36ad Fix typos 2022-05-19 19:32:35 +02:00
ozone10 a577564699 Make dark mode groupbox edge to use edge color
Make also combobox border round on Windows 11 to match style, and fix visual glitch with transparency groupbox in Find dialog.

Fix #11693, close #11694
2022-05-18 20:12:19 +02:00
Don Ho c9b177bb9e Fix a memory leak in "Copy Binary Content" comment
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11671#issuecomment-1128975960
2022-05-17 18:08:40 +02:00
Don Ho 8a37bed448 Make file description shorter to suit the context menu
Fix #11688
2022-05-17 17:52:08 +02:00
Shridhar Kumar df438ea944 Fix crash on "Copy Binary Content" command without selection on edit zone
Fix also an issue that the word where the cursor is on in the edit zone is selected after running ABOUT box, that makes all the occurence of same word highlighted in the edit zone.

Fix #11639, fix 11671, close #11673
2022-05-17 17:09:29 +02:00
ozone10 def3aba4e6 Fix dark mode tab left-right control for floating docking containers
Fix #11683, close #11684
2022-05-17 14:51:58 +02:00
ozone10 c72dac69c5 Add dark mode support on shortcut mapper entirely
Fix #11530, close #11682
2022-05-17 04:44:43 +02:00
Shridhar Kumar 2aa85006d2 Fix crashes by re-invoking with command line argument "-udl"
Fix crashes when re-invoked with -udl command line parameter with more than 7 characters as its value:
Serialize _udlName from generic_string to wchar_t _udlName[MAX_PATH].

Fix #11633, close #11681
2022-05-17 04:29:35 +02:00
ozone10 a630b63c9a Add encoding context menu via right/double click on encoding display zone of status bar
Fix #9998, fix #400, fix #756, close #11678
2022-05-16 14:40:40 +02:00
Shridhar Kumar 0f8d5724af Add command line argument for plugin, a related notification and an API
1. Add a cmd argument for plugin: -pluginMessage="SPECIFIC_PLUGIN_MESSQGE" where SPECIFIC_PLUGIN_MESSQGE is a string which can contain white space. For example: -pluginMessage="arg1 arg2 arg3".
2. NPPN_CMDLINEPLUGINMSG notification: which will be triggered by -pluginMessage and plugins will get their specific message "arg1 arg2 arg3" via idFrom field:
   //scnNotification->nmhdr.code = NPPN_CMDLINEPLUGINMSG;
   //scnNotification->nmhdr.hwndFrom = hwndNpp;
   //scnNotification->nmhdr.idFrom = pluginMessage; //where pluginMessage is pointer of type wchar_t
3. Add NPPM_GETCURRENTCMDLINE API for getting the latest command line.
4. Update command line dynamically in Debug info dialog.

Fix #11576, close #11589
2022-05-16 04:54:31 +02:00
ozone10 67297397d4 Make Alternate Icons behaviour in dark mode consistent
The usage of alternate icons in dark mode can be remember now though the sessions.

Fix #10159, close #11674
2022-05-16 01:48:04 +02:00
Robert Di Pardo 77a53ebd2f Show installed plugin versions in Debug Info dialog
Fix #11284, close #11662
2022-05-16 01:19:46 +02:00
Karlo-F 74395977bb Improve "Deep Black" theme
* Corrected description
* Added new lines for PHP, INI, CSS and GlobalStyles
* Darkened YAML (it wasn't dark)
* Minor corrections

Close #11608
2022-05-15 04:11:30 +02:00