Drag-and-drop not working in editor
-
I rarely use Notepad++ (a casual, hobby programmer), but when using it recently (current project) I was surprised to find that the editor does not follow the usual Windows convention of being able to highlight a word/phrase/line/block and then <Ctrl>-drag to copy that selection elsewhere, or <Shift>-drag to move it somewhere.
Have I missed a hidden setting somewhere that reverts Notepad++ to ‘normal’ Windows behaviour?
Daniel
Australia -
@DanielTheGreatAu said in Drag-and-drop not working in editor:
<Ctrl>-drag to copy that selection elsewher
order of operations.
You select, then click and hold, then hold down the
Ctrl
key, then finally drag/drop to make the copy.<Shift>-drag to move it somewhere.
You don’t actually need the shift: select, click and hold, then drag it to the new location will move it, without the shift. It will also work to select, then click-and-hold, then hold down
Shift
key, then finally drag/drop to move the original.I don’t rememberthe exact circumstances, but there was a change made a year or two ago that required the very specific order; otherwise, it got in the way of another common activity, or some such, so that was the best compromise that could be made to make it work for both sets of users, both of whom were right to expect their behavior. [[update: as @Coises said, it was the default enabling of Multi-Editing that did it; glad someone here has better memory than I do]] -
@DanielTheGreatAu said in Drag-and-drop not working in editor:
a hidden setting somewhere that reverts Notepad++ to ‘normal’ Windows behaviour
Settings | Preferences… | Editing 2 | Multi-Editing: uncheck Enable Multi-Editing to restore normal Ctrl+drag behavior.
Shift key down, then drag on a selection, as far as I know, has never moved the selection in Notepad++ — it just changes the selection. You don’t need the Shift key to move a selection.