Commit Graph

5679 Commits (40adc3820140c5a52d134a7f7085e328776bec99)

Author SHA1 Message Date
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 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
Don Ho 6f5f246791 Notepad++ 8.6.1 release 2024-01-05 17:26:31 +01:00
Don Ho 9c7bb8a080 Fix F4 not working for search result
Fix #12023, close #14544
2024-01-04 04:04:16 +01:00
Don Ho dc6f6d1103 Fix deleting in column mode also delete an unexpected EOL
Fix #14426, close #14536
2024-01-03 06:16:54 +01:00
xomx 19c6489a9a [xml] Update czech.xml to v8.6.1
Close #14527
2023-12-30 17:49:12 +01:00
kubalav 0aebe13b3e [xml] Update Slovak translation
Close #14528
2023-12-30 17:48:06 +01:00
~GOLEM~ 03d1a5dcd1 [xml] Update russian.xml
Close #14529
2023-12-30 17:46:11 +01:00
schnurlos c664299dfa [xml] Update german.xml
Following 78d0e7e12f

Close #14530
2023-12-30 17:43:52 +01:00
Patriccollu 026ab75b38 [xml] Update Corsican translation for Notepad++ 8.6.1
Close #14531
2023-12-30 17:41:31 +01:00
Karlo-F 79fab08f02 [xml] Update croatian.xml to v8.6.1
Close #14532
2023-12-30 17:39:44 +01:00
Marcellomco 5e13a7b128 [XML] Update brazilian_portuguese.xml
Added translation for "Add new localization entries"

Close #14533
2023-12-30 17:37:14 +01:00
yasmise 81832b1690 [xml] Update japanese.xml
Add translation texts for these commits:
* Add new localization entries (d039eaa)
* Add navigation to the 1st & last tab abilities (4e6bbbc)

This also includes fix-ups to existing texts, to make it clearer.

Close #14534
2023-12-30 17:35:30 +01:00
rddim 24305466b3 [xml] Update Bulgarian localization
Close #14535
2023-12-30 17:33:52 +01:00
Don Ho 4bde0d4b53 Fix incorrect code
ref: 8ae049afbc (r135905629)

And also add new entries to tabContextMenu_example.xml
2023-12-30 03:53:47 +01:00
Don Ho d039eaa900 Add new localization entries
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14497#issuecomment-1871689104
2023-12-29 18:07:53 +01:00
Don Ho d1664226d3 Add comments in RTL localization files for explanation of "editZoneRTL" 2023-12-29 04:22:00 +01:00
Don Ho 8ae049afbc Use 64-bit positions instead of 32-bit obsolete ones
ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14359/files#r1437502252
2023-12-29 02:56:37 +01:00
schnurlos c1fa9273e5 [xml] Update german.xml
Close #14370
2023-12-28 17:54:35 +01:00
Karlo-F 65701313cd [xml] Update croatian.xml to v8.6
Close #14396
2023-12-28 17:42:50 +01:00
rddim 76b2ca3f40 [xml] Update Bulgarian localization
Close #14398
2023-12-28 17:30:01 +01:00
Andrei Miloiu 275a6853be [xml] Update romanian.xml
Close #14468
2023-12-28 17:13:20 +01:00
Patriccollu fe17d2824d [xml] Update Corsican translation for Notepad++ 8.6.1
Close #14483
2023-12-28 17:02:56 +01:00
Christophe Mateos e4d494c9d0 [xml] Update french.xml
Close #14484
2023-12-28 16:48:15 +01:00
~GOLEM~ 7c9312b438 [xml] russian.xml 8.6.1
Close #14485
2023-12-28 16:32:58 +01:00
A. Regnander 211b9b7331 Update swedish.xml
Close #14486
2023-12-28 16:29:56 +01:00
Thomas De Rocker 1a1d6e352c Update dutch.xml
Close #14512
2023-12-28 16:22:51 +01:00
Juan 8898d0dcc8 [xml ]Update spanish.xml v.8.6
Close #14524
2023-12-28 16:20:19 +01:00
Juan fabf129678 [xml] Update galician.xml v.8.6
Close #14525
2023-12-28 16:08:43 +01:00
Don Ho d7630fa42d Fix file status in "other view" is not detected
Fix #14225
2023-12-28 01:43:10 +01:00
Don Ho 5f13c84719 Fix dropped file being opened in the wrong view
Fix #14354
2023-12-28 01:00:50 +01:00
Marcellomco 89f83f1023 [XML] Update brazilian_portuguese.xml
Added translation for 'Make RTL per document & remembered across the sessions'.

Close #14439
2023-12-27 03:45:17 +01:00
yasmise 65988cf16d [xml] Update japanese.xml
Update translation texts for these commits:
* Fix confusing memory allocation error message (reused FileTooBigToOpen) (ffc0ed2)
* Make RTL per document & remembered across the sessions (2724e0d)

Close #14448
2023-12-27 03:43:02 +01:00
kubalav 55f535cd35 [xml] Update Slovak translation
Close #14366
2023-12-26 23:57:25 +01:00
Christian Grasser dcc7e600c7 Updated to Scintilla 5.4.1 & Lexilla 5.3.0
Scintilla 5.4.1
https://www.scintilla.org/scintilla541.zip
Released 27 December 2023.

1.  Add IDocumentEditable interface to allow efficient interaction with document objects which may not be visible in a Scintilla instance. This feature is provisonal and may change before being declared stable. For better type-safety, the ScintillaCall C++ API uses IDocumentEditable* where void* was used before which may require changes to client code that uses document pointer APIs DocPointer, SetDocPointer, CreateDocument, AddRefDocument, and ReleaseDocument.
2.  Ctrl-click on a selection deselects it in multiple selection mode.
3.  Add SCI_SELECTIONFROMPOINT for modifying multiple selections.
4.  Add SCI_SETMOVEEXTENDSSELECTION and SCI_CHANGESELECTIONMODE to simplify selection mode manipulation.
5.  Improve performance of global replace by reducing cache invalidation overhead. [Feature #1502](https://sourceforge.net/p/scintilla/feature-requests/1502/).
6.  Fix regular expression search for "\<" matching beginning of search when not beginning of word and for "\>" not matching line end. [Bug #2157](https://sourceforge.net/p/scintilla/bugs/2157/).
7.  Fix regular expression search failure when search for "\<" followed by search for "\>". [Bug #2413](https://sourceforge.net/p/scintilla/bugs/2413/).
8.  Fix regular expression assertion (^, $, \b. \B) failures when using SCFIND_CXX11REGEX. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
9.  Fix regular expression bug in reverse direction where shortened match returned. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
10. Avoid character fragments in regular expression search results. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/).
11. With a document that does not have the SC_DOCUMENTOPTION_TEXT_LARGE option set, allocating more than 2G (calling SCI_ALLOCATE or similar) will now fail with SC_STATUS_FAILURE.
12. Protect SCI_REPLACETARGET, SCI_REPLACETARGETMINIMAL, and SCI_REPLACETARGETRE from application changing target in notification handlers. [Bug #2289](https://sourceforge.net/p/scintilla/bugs/2289/).

Lexilla 5.3.0
https://www.scintilla.org/lexilla530.zip
Released 27 December 2023.

1. Fix calling AddStaticLexerModule by defining as C++ instead of C which matches header. [Bug #2421](https://sourceforge.net/p/scintilla/bugs/2421/).
2. Bash: Fix shift operator << incorrectly recognized as here-doc. [Issue #215](https://github.com/ScintillaOrg/lexilla/issues/215).
3. Bash: Fix termination of '${' with first unquoted '}' instead of nesting. [Issue #216](https://github.com/ScintillaOrg/lexilla/issues/216).
4. HTML: JavaScript double-quoted strings may escape line end with '\'. [Issue #214](https://github.com/ScintillaOrg/lexilla/issues/214).
5. Lua: recognize --- doc comments. Defined by [LDoc](https://github.com/lunarmodules/ldoc). Does not recognize --[[-- doc comments which seem less common.

Close #14375
2023-12-26 23:17:53 +01:00
Don Ho 78d0e7e12f Fix hidden results of long lines for "Find All ..." commands
Fix some the results of "Find all in..." commands of long lines not being displayed, when the long lines are cut (its length > 2048).
All the results displayed in the cut long lines will be kept as the current behaviour. Additionally, each result beyond the cut long line (2048) will be displayed as default mode (ie. each entry will be displayed, so user can double click on the entry line for reaching the result).

Related: #12014

Fix #12023, close #14520
2023-12-26 16:28:41 +01:00