• Login
Community
  • Login

can I have drag n drop text disabled?

Scheduled Pinned Locked Moved General Discussion
4 Posts 3 Posters 600 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Kara Kitai
    last edited by Jan 27, 2021, 4:36 PM

    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 :)

    P 1 Reply Last reply Jan 27, 2021, 7:57 PM Reply Quote 0
    • P
      PeterJones @Kara Kitai
      last edited by Jan 27, 2021, 7:57 PM

      @Kara-Kitai ,

      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).

      P A 2 Replies Last reply Jan 27, 2021, 8:08 PM Reply Quote 3
      • P
        PeterJones @PeterJones
        last edited by Jan 27, 2021, 8:08 PM

        I 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

        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.

        1 Reply Last reply Reply Quote 3
        • A
          Alan Kilborn @PeterJones
          last edited by Alan Kilborn Jan 27, 2021, 8:09 PM Jan 27, 2021, 8:08 PM

          @PeterJones said in can I have drag n drop text disabled?:

          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 inDragDrop to 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.

          1 Reply Last reply Reply Quote 2
          4 out of 4
          • First post
            4/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors