zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
3.13k stars 203 forks source link

About Ctrl+Drag and Drop for copying / 关于 Ctrl+拖拽 实现复制 #779

Closed XHWMA closed 4 months ago

XHWMA commented 6 months ago

Now that Drag+Ctrl is copying, it is recommended to allow Ctrl+Drag as well.

Hold Ctrl first and then drag.

现在,拖拽+Ctrl 是复制,建议也允许 Ctrl+拖拽

先按住 Ctrl拖拽

meteorquake commented 6 months ago

I think an absolute must... took me a while to work this out (your comment pointed to the issue!) Generally I hold ctrl down then drag, rather than drag then ctrl, which I only do if I change my mind about moving and decide to copy. I think the problem will catch a lot of users and new users out. So, definite second for the need to restore Ctrl-Drag. "Upstream scintilla" noted :)

XHWMA commented 6 months ago

I had suspected that the Ctrl key on the left side was not working well. I've since found out it's not.

我曾怀疑左侧的 Ctrl 键不好用。 后来我发现并不是这样。

dgxlsyd3 commented 4 months ago

原版scintilla是默认支持按住“Ctrl+拖动”进行复制的。

zufuliu commented 4 months ago

Works after disabling multiple selection (by default when Ctrl is hold, selecting will adds new green caret): image

dgxlsyd3 commented 4 months ago

谢谢。 我更新 locale\zh-Hans\Notepad2.dll 之后,可以正常切换【启用多重选择】菜单。 Ctrl+拖拽 也可以正常使用了。