rizonesoft / Notepad3

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:
https://www.rizonesoft.com/downloads/notepad3/
Other
4.79k stars 322 forks source link

Ctrl + Drag-n-Drop disabled by multi-cursor? #5153

Closed lhmouse closed 1 month ago

lhmouse commented 3 months ago

With 6.24.309.1.rc3, I notice a change: Usually I do drag-n-drop with Ctrl held to perform a fast copy (into the same window or to another); but now click with Ctrl held seems to add a cursor and no longer performs the drag operation? Is this intended? Is there an option to get the old behavior?

I have checked all menu items thrice and there doesn't seem an option about this.

hpwamr commented 3 months ago

but now click with Ctrl held seems to add a cursor and no longer performs the drag operation?

Hello @lhmouse , It seems that the fast copy with Ctrl is well performed, but doesn't received the focus (stays in background). If you check the Notepad3 icon on the taskbar, you will see the new copy. 🤔

2024-03-12_092934

In addition in case of Notepad3 in a window view, the copy appears clearly.

2024-03-12_094355

lhmouse commented 3 months ago

@hpwamr I meant to select some text, then click, hold, and drag the selected text.

hpwamr commented 3 months ago

I meant to select some text, then click, hold, and drag the selected text.

Sorry about the misunderstanding. 🤔 You are right, "click, hold and drag selected text" has a problem. I will check from which version this regression occurs!

hpwamr commented 3 months ago

Hello @lhmouse ,

I confirm, it's a bug (regression). 😬

This regression started with version: Notepad3 6.24.111.1 rc2

lhmouse commented 3 months ago

The issue seems to be caused by 868683ed5fcd9a0ce05549d9702b05a0dbf58d14. Downdating the scintilla directory just before that commit fixes the issue.

RaiKoHoff commented 1 month ago

To get the old behavior, you have to disable the Multiple Selection Scintilla feature. PR #5203 will add this option switch to the Settings Menu

lhmouse commented 1 month ago

Thank you. I will have a look.

hpwamr commented 1 month ago

Hello @lhmouse ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.531.1_rc3.paf" or newer, see the 1st list in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.531.1_rc3_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

lhmouse commented 1 month ago

It looks good to me. Thanks.