Community
    • Login

    Drag-and-drop not working in editor

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 56 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.
    • DanielTheGreatAuD
      DanielTheGreatAu
      last edited by

      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

      PeterJonesP CoisesC 2 Replies Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @DanielTheGreatAu
        last edited by PeterJones

        @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 remember the 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]]

        1 Reply Last reply Reply Quote 1
        • CoisesC
          Coises @DanielTheGreatAu
          last edited by

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

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