9e7f1e514c
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 |
||
---|---|---|
.. | ||
Test | ||
bin | ||
gcc | ||
installer | ||
misc/chameleon | ||
scintilla.original.forUpdating | ||
src | ||
visual.net |