5663 Commits

Author SHA1 Message Date
Don Ho
120fc5d726 Notepad++ v8.6.4 release v8.6.4 2024-02-20 01:42:05 +01:00
Don Ho
827b08f6ff Fix regression that the view cannot be activated by mouse clicking
SCI_SETCOMMANDEVENTS cannot be set to false, because SCEN_SETFOCUS is being used by Notepad++

The regression was introduced by commit: 044296eea1

Fix https://community.notepad-plus-plus.org/topic/25490/notepad-release-8-6-3/7?_=1708380779619
2024-02-19 23:27:48 +01:00
Don Ho
1491efd95e Add a new great refactoring 2024-02-19 02:09:26 +01:00
Don Ho
5110069841 Notepad++ v8.6.3 release v8.6.3 2024-02-18 17:32:41 +01:00
Don Ho
250dfe0f8b Fix new editing dialog not in dark mode
Fix https://community.notepad-plus-plus.org/topic/25478/notepad-v8-6-3-rc-2/3?_=1708095675232
2024-02-16 16:00:03 +01:00
Don Ho
f2d66170fc Restore multi-editing option on GUI
Make also Column To Multi-editing optional on GUI and cancel the usage of noColumnToMultiSelect.xml file.
For users who have added "noColumnToMultiSelect.xml" for disabling "Column To Multi-editing" feature,
please go to "Editing 2" section of Preferences to disable this feature.

Ref: https://community.notepad-plus-plus.org/topic/25364/notepad-v8-6-2-release/11?_=1707952609907
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14611#issuecomment-1937487607

Fix #14645, close #14734
2024-02-15 18:27:48 +01:00
Karlo-F
75b239cf8a [xml] Update croatian.xml to v8.6.3
Close #14726
2024-02-15 15:35:05 +01:00
xomx
63d0f88b0a [xml] Update czech.xml to v8.6.3
Close #14728
2024-02-15 15:33:04 +01:00
Gustavo5634
978118dc0e Add latest ES/JS keywords for auto-completion
Fix #14705, close #14711
2024-02-12 13:56:48 +01:00
Piotr Kostrzewski
a670b26a7c Update polish.xml to 8.6.3
Close #14675
2024-02-11 17:29:15 +01:00
Juan
5f95df0ae4 [xml]Update galician v.8.6.3.xml
Close #14713
2024-02-11 17:25:05 +01:00
Juan
eabd620507 [xml]Update spanish v.8.6.3.xml
Close #14712
2024-02-11 17:22:46 +01:00
DARK_GEMS
346ed36c01 Add html 5 style code in css.xml for auto-completion
Close #14698
2024-02-11 16:41:33 +01:00
~GOLEM~
be4584832f [xml] Update russian.xml v8.6.3
Close #14678
2024-02-11 16:24:55 +01:00
Andrei Miloiu
2ef8d147ee [xml] Update romanian.xml
Close #14598
2024-02-11 16:22:52 +01:00
Blackspirits
632dcaa470 Update portuguese.xml
Close #14669
2024-02-11 05:00:47 +01:00
Patriccollu
a0bd2f8816 [xml] Update Corsican translation for Notepad++ 8.6.3
Close #14677
2024-02-11 04:58:07 +01:00
Marcellomco
b4a2040b77 [XML] Update brazilian_portuguese.xml
Added translation for "Update localization files"

Close #14679
2024-02-11 04:56:37 +01:00
schnurlos
7beb15d56c [xml] Update german.xml
Following c6e433f70b

Close #14680
2024-02-11 04:54:58 +01:00
kubalav
59b9257cb0 [xml] Update Slovak translation
Close #14682
2024-02-11 04:53:27 +01:00
rddim
6875e2673f [xml] Update Bulgarian localization
Close #14686
2024-02-11 04:51:51 +01:00
yasmise
04b595f095 [xml] Update japanese.xml
Add translation text for this commit:
* Update localization files (c6e433f)

Close #14690
2024-02-11 04:49:35 +01:00
Don Ho
087430f8f1 Fix regression of NPPM_RELOADFILE
Regression is introduced by:
bb278b26fc

Fix #14693, close #14708
2024-02-10 15:35:05 +01:00
Don Ho
76cfc5945e Fix loosing all open files after restarting as Admin to save a file
While saving a file needs the admin privilege, and if "Always In Multi-Instance Mode" option is activated, the current Notepad++ instance will be closed and a new instance with admin privilege contains no file is launched - it makes user confused because there are nothing to be edited and saved.

This commit fixes the issue by keeping the 1st instance opened, and launching the 2nd instance (with admin privilege) which contains the file in question - so user can modify it and save it.

The new behaviour (of this commit) not only fixes the issue, but also makes more sense, since it's "Always In Multi-Instance Mode". Note that the same behaviour happens if the session & periodical backup feature is disabled.

Fix #14694, close #14701
2024-02-09 16:27:16 +01:00
vlakoff
c927ee8ce5 Add .mjs extension to the "web script" file associations
close #14689
2024-02-08 05:06:09 +01:00
Don Ho
044296eea1 Fix Replace All crash & performance issue
Fix  #14630, close #14685
2024-02-08 02:20:57 +01:00
Don Ho
0d05dae4ba Add more unit tests for Function List of Python 2024-02-07 22:30:55 +01:00
Дим Щ
e600c35ad2 Enhance Function List for Python
Support for async def and colons in argument list

Fix #13908, close #14628
2024-02-07 22:25:34 +01:00
Don Ho
c6e433f70b Update localization files 2024-02-05 16:27:59 +01:00
Don HO
5e6df25942
Update README.md
Add build status
2024-02-04 19:23:47 +01:00
anatoly77g
91074da46d Fix macro recording twice for some commands
When recording a keyboard macro, some commands are added to the macro twice.
When later playing back the macro, they happen twice, which leads to incorrect edits.

Fixed commands:
* EDIT_CUT (Cut)
* EDIT_COPY (Copy)
* IDM_EDIT_LINE_UP (Move Up Current Line)
* IDM_EDIT_LINE_DOWN (Move Down Current Line)

Not fixed: issue 13722:
SEARCH_GOTOMATCHINGBRACE (Go to Matching Brace)

Fix #5217, fix #14634, close #14613
2024-02-04 15:40:25 +01:00
Don Ho
f09b653d19 Fix calltip crash due to the division by zero
Fix #14664, close #14667
2024-02-04 13:08:53 +01:00
Don HO
9cec6aff3b
Update CONTRIBUTING.md 2024-02-03 15:04:34 +01:00
Don HO
85af8d566d
Update CONTRIBUTING.md
Add info for PR regarding Function List parser.
2024-02-03 15:03:12 +01:00
Compaszer
bf65ba5329 Added php 8.3 functions to syntax highlighting and autocomplete files
Fix #14635, close #14636
2024-02-03 14:19:12 +01:00
DARK_GEMS
ec29bc101c Update css.xml
Some css properties added.

Close #14666
2024-02-03 12:39:05 +01:00
Alan Kilborn
cb8165b161 Fix "Open File" command not working with TAB preceded
Fix #14543, close #14654
2024-02-03 12:31:37 +01:00
Don Ho
9e7f1e514c Make copy/cut line while no selection optional
With this commit, there's the same issue in both JsonTools & NavigateTo (in C#), described here:
https://community.notepad-plus-plus.org/topic/25315/notepad-v8-6-1-release/2?_=1706795482129 

To reproduce:
1. Uncheck "Enable Copy/Cut Line without selection" checkbox in Editing section of Preferences.
2. Make sure there's no selection in the current editor
3. Launch "Open JSON tree viewer", and try to Cut "@" symbol on the top left text field with Ctrl-X

To remedy such problem, the plugin should call NPPM_MODELESSDIALOG with MODELESSDIALOGADD on the handle (HWND) of modeless dialog, just after the dialog creation.
(https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/MISC/PluginsManager/Notepad_plus_msgs.h#L93)
With the registration of dialog handle, Notepad++ will pass all events which belongs to dialog's controls to the registered dialog.

Both source code of JsonTools & NavigateTo have been examinated, NPPM_MODELESSDIALOG which should be used has not been called.
Not sure it's the case of all the plugin in C#, it's not the issue for the C/C++ plugins anyway, because the dockable modeless dialog (inherited from StaticDialog) is registered after its creation:
https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/WinControls/StaticDialog/StaticDialog.cpp#L257

Fix #14638, close #14660
2024-02-03 01:29:54 +01:00
Don HO
f431a37967
Update SUPPORTED_SYSTEM.md 2024-02-01 16:28:17 +01:00
Don Ho
c0eaf544a6 Add "Plugin Communication" reference
and update copyright year for plugin header files.
2024-01-28 13:47:49 +01:00
Don Ho
bb278b26fc Enhance API description in comment
Close #14587
2024-01-28 05:20:22 +01:00
Christian Grasser
50a6cf2981 Modified Notepad++ version to "Notepad++ GH_BUILD" for CI artifact
In order to avoid confusion NOTEPAD_PLUS_VERSION is modified to "Notepad++ GH_BUILD" for GitHub CI artifacts.

Close #14625
2024-01-22 05:19:25 +01:00
Don Ho
ae9aa22436 Fix Copy/Cut/Paste issue in Vertical Edge text field (preferences)
This commit allows Ctrl-V, Ctrl-C, Ctrl-X, Ctrl-A & Ctrl-Z in text field, so user can do paste, copy, cut, select all & redo/undo action respectively in Vertical Edge text field of Préférences dialog.

Also the paste content is controlled to allow only the number and white space.

Fix #13874, close #14586
2024-01-16 19:44:47 +01:00
Don Ho
7479e31fb3 Notepad++ v8.6.2 release v8.6.2 2024-01-14 19:20:08 +01:00
Don Ho
75ae73c173 Fix Copy/Cut/Paste shortcut modification conflict problem
The bug is introduced by:
f7c44b4413

Fix #14585, close #14586
2024-01-14 00:18:58 +01:00
Don Ho
f7c44b4413 Restore Shift-DEL, Ctrl-INS and Shift-INS & fix Ctrl+V can't paste into the text fields of forms for certain plugins
This PR restores shortcuts Shift-DEL, Ctrl-INS and Shift-INS for Cut / Copy / Paste respectively.
the action to delete entire line without selection is removed in this PR due to its shortcut Shift-DEL has triggered several critical issues.

To delete entire line, the users are encouraged to use Scintilla default shortcuts set in Shortcut Mapper: Ctrl-Shift-L (SCI_LINEDELETE). User can remap it to another shortcut via Shortcut mapper.

Fix #14568, fix #14470, fix #14571, close #14557, close #14569
2024-01-11 05:34:55 +01:00
artpoli
f7de2076c3 [xml] Update Ukrainian translation
Close #14570
2024-01-11 00:39:25 +01:00
Christophe Mateos
619b5a68ec [xml] Update french.xml
Close #14575
2024-01-11 00:27:11 +01:00
Helge Konetzka
464967e26c Fix clang compilation error
Close #14559
2024-01-10 23:33:03 +01:00
Don Ho
eb0922c223 Fix cloned document position not remembered though sessions
Fix #14461, fix #14164, close #14565
2024-01-08 16:55:32 +01:00