I was about to create a bug ticket about Ctrl+Drag not copying the selection when I traced the bug back to this open topic concerning [3ca229]. I may need to revert it locally as it is an undesirable change.
Ctrl+Click currently makes Ctrl+Drag unavailable because as soon as I try to drag the selection to copy to a new position while holding down the Ctrl key, it drops the selection. Destroying an existing feature for a new feature is not what I consider as an improvement. I use Ctrl+Drag on selections quite often.
Can this patch be reconsidered as losing an existing useful primary feature is not interesting when already have a context menu in SciTE and an entry could be added to Notepad++ context menu that can do the new behaviour of dropping a selection?
Thanks for the tip. I have already reverted my local copy and compiled. The issue with the patch applied is that when done multiple times, then it's drag, ctrl down, drop, ctrl up, drag, ctrl down, drop, ctrl up... where as previously only had to hold down ctrl to do several drag'n'drops.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
See current SciTE which adds Drop Selection to the context menu.
That's a nice solution indeed.
I still think that another way (keyboard/mouse no menu) would be useful.
Thank you!
Committed Ctrl+Click to drop selection with [3ca229].
Related
Commit: [3ca229]
@nyamatongwe
I was about to create a bug ticket about Ctrl+Drag not copying the selection when I traced the bug back to this open topic concerning [3ca229]. I may need to revert it locally as it is an undesirable change.
Ctrl+Click currently makes Ctrl+Drag unavailable because as soon as I try to drag the selection to copy to a new position while holding down the Ctrl key, it drops the selection. Destroying an existing feature for a new feature is not what I consider as an improvement. I use Ctrl+Drag on selections quite often.
Can this patch be reconsidered as losing an existing useful primary feature is not interesting when already have a context menu in SciTE and an entry could be added to Notepad++ context menu that can do the new behaviour of dropping a selection?
Related
Commit: [3ca229]
Last edit: Michael Heath 2023-12-02
Start drag then press Ctrl.
Thanks for the tip. I have already reverted my local copy and compiled. The issue with the patch applied is that when done multiple times, then it's drag, ctrl down, drop, ctrl up, drag, ctrl down, drop, ctrl up... where as previously only had to hold down ctrl to do several drag'n'drops.
This should be a nice and useful improvement.
I'll test it when the new version is available.
Thank you for your work.
@nyamatongwe,
I've tested it with Sc541. Great.
Thank you for your work.