can I have drag n drop text disabled?
Kara Kitai last edited by
is it possible? I am running latest minimalist portable.
disabling drag n drop for the text in notepad would be great to avoid mistake while edting. old school’s cut and paste would be more than enough for me :)
PeterJones last edited by
I cannot that I’ve accidentally done a drag-and-drop on selected test to move it more than once or twice in my years of using Notepad++. And if that mistake does happen, a quick Ctrl+Z undoes the problem.
Personally, I wouldn’t lobby for such a feature – I see no reason for it – but as long as the option defaulted so that drag-and-drop worked, and it required a change from the defaults to disable drag-and-drop, I wouldn’t argue against it being implemented.
That said, I wouldn’t be surprised if the drag-and-drop of text is defined in the Scintilla component, rather than by the Notepad++ developers. If that’s the case, then there might be nothing the Notepad++ developers can do to make that optional.
And for this discussion, and future reference: this forum has no power to make changes to the codebase of Notepad++. Here, we are all users. You can propose new features for discussion here, and get a feel for whether others feel it’s a good idea. But in the end, for a feature to be officially requested to the developers, so that they can make a decision whether or not to implement it, you need to make an official feature request (described in the FAQ entry in this Forum).
PeterJones last edited by
I wouldn’t be surprised if the drag-and-drop of text is defined in the Scintilla component, rather than by the Notepad++ developers
So I loaded up SciTE 4.20, which is the Scintilla testbed editor for the same version of the Scintilla library that Notepad++ currently uses: it has drag-and-drop on text as well. And since the ExtSettings plugin (which implements most Scintilla optional configuration choices) doesn’t have an option which appears to affect that, I doubt there’s a toggle available for that Scintilla feature. In which case, there’s nothing for Notepad++ developers to do.
If you were ambitious, you could go to the Scintilla project and request that they add a feature to be able to disable drag-and-drop movement of text, and then wait patiently for them to decide and/or implement; then, once it’s implemented there, lobby with the NPP developers to upgrade their copy of Scinitilla (which they have only done a few times in the lifetime of the Notepad++ application) and then wait for it to happen (if it ever does).
In other words, the chances of getting that option ever is slim, and getting it soon is virtually non-existent. Sorry.
Alan Kilborn last edited by Alan Kilborn
I wouldn’t be surprised if the drag-and-drop of text is defined in the Scintilla component,
It most certainly is.
One can have a look at Scintilla’s Editor.cxx and search for
inDragDropto see some of the code.
I cannot (say) that I’ve accidentally done a drag-and-drop on selected text…
Never happened to me.
Best advice to @Kara-Kitai : Just live with it the way it is.