Community
    • Login

    How to drag selected text to area currently off screen

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    drag and dropselected text
    37 Posts 6 Posters 3.4k 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.
    • Speedy MercerS
      Speedy Mercer
      last edited by

      Is there a way to drag selected text up or down the page to an area that is currently off screen? My old editor would start scrolling the page once the mouse hit the top or bottom of the editor screen.

      Alan KilbornA 1 Reply Last reply Reply Quote 4
      • Alan KilbornA
        Alan Kilborn @Speedy Mercer
        last edited by Alan Kilborn

        @Speedy-Mercer

        Apparently not. I just tried with Notepad++ 7.8.5. :-(

        1 Reply Last reply Reply Quote 2
        • Speedy MercerS
          Speedy Mercer
          last edited by

          That kinds bites, doesn’t it?

          1 Reply Last reply Reply Quote 1
          • Speedy MercerS
            Speedy Mercer
            last edited by

            Note: Notepad++ v7.8.5 64bit

            1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn
              last edited by

              @Speedy-Mercer said in How to drag selected text to area currently off screen:

              That kinds bites, doesn’t it?

              Well, it depends upon your point-of-view. I’ve been using Notepad++ for maybe 4 years and I’ve never noticed that you can’t do this with it. So, while I admit it seems like a problem, I guess for me I’d have to say it isn’t a big problem.

              I guess the obvious workaround is to:

              • instead of starting to drag —> press ctrl+x
              • instead of the drag movement to destination —> cursor to there
              • instead of dropping —> press ctrl+v

              But, if you want to file a bug report, you need to follow the instructions here on doing so; no one that has power to fix it will see it here in this forum.

              Speedy MercerS 3 Replies Last reply Reply Quote 3
              • Speedy MercerS
                Speedy Mercer @Alan Kilborn
                last edited by

                @Alan-Kilborn Thanks. I just figured I was overlooking something. I was a TextPad user for decades and was used to it’s interface/features but was thinking seriously of switching to Notepad++ and this was the first thing I “had issue” with because the work arounds require either keyboard input or “extra” mouse clicks instead of a simple drag and drop. This is something I do often so it popped up on my radar.
                I will turn in a request for this in an upcoming release I guess.

                1 Reply Last reply Reply Quote 1
                • Speedy MercerS
                  Speedy Mercer @Alan Kilborn
                  last edited by

                  @Alan-Kilborn Ok, taking your suggestion, I followed the link but am having a hard time understanding just what exactly I need to do. I’m 63 and not as swift to pick up things as I once was so please forgive me.
                  Here is my repository with an initial branch.
                  https://github.com/herohog/hello-world/branches

                  If I understand things right, I need to create a “Pull Request”.
                  What I am asking for is this: “RFC: Add ability to drag and drop selected txt to an area above or below the currently viewed screen by simply moving the mouse to/past the screen border to cause the screen to scroll to the desired new area.
                  Current work arounds require either keyboard input or “extra” mouse clicks instead of a simple drag and drop. This is something I do often so it popped up on my radar when I switched to Notepad++.”

                  Any suggestions?

                  1 Reply Last reply Reply Quote 0
                  • Speedy MercerS
                    Speedy Mercer
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Speedy MercerS
                      Speedy Mercer @Alan Kilborn
                      last edited by

                      @Alan-Kilborn After finding an example, I went with this: https://github.com/herohog/Notepad_plus_plus/issues/1

                      1 Reply Last reply Reply Quote 0
                      • guy038G
                        guy038
                        last edited by guy038

                        Hello @speedy-mercer, @alan-kilborn, and All,

                        @speedy-mercer, why didn’t you add a new issue directly at the official N++ issues tracker ?

                        https://github.com/notepad-plus-plus/notepad-plus-plus/issues

                        Simply, click on the green New issue button, on the right !


                        Now, I verified, for instance, with the Microsoft text editor write.exe :

                        • Run the DOS command write license.txt

                        • Select a block of text to be moved to a remote part of the current file

                        • While pressing the left mouse button, move the mouse to the bottom of the screen, or to any other direction

                        => The selection remains active and the screen scrolls towards the selected direction ;-))

                        • As soon as you reach the location where you need to move ( or copy ) your selection, just release the left mouse button

                        Remark :

                        Microsoft Word does have this same behaviour, too ! However, the basic Microsoft Notepad.exe editor cannot reproduce it


                        I’m really wondering how I could have missed this obvious mouse gesture since more than a decade ?! I’ve never noticed that this mouse gesture was forbidden, when using Notepad++ :-(

                        In my opinion, this would be a nice improvement and would make the operation of Notepad++ even more natural ;-))

                        Best Regards,

                        guy038

                        Speedy MercerS 1 Reply Last reply Reply Quote 3
                        • Alan KilbornA
                          Alan Kilborn
                          last edited by

                          @guy038 said in How to drag selected text to area currently off screen:

                          @speedy-mercer, why didn’t you add a new issue directly at the official N++ issues tracker ?
                          https://github.com/notepad-plus-plus/notepad-plus-plus/issues
                          Simply, click on the green New issue button, on the right !

                          @guy038 Could you [ since it is locked! ;-) ] perhaps update the FAQ entry for this? At the very least maybe add the click on the green New issue button verbage from above?

                          I don’t think we’ve ever had anyone misinterpret the feature request instructions like @Speedy-Mercer , but I suppose the instructions could be improved.

                          Speedy MercerS 1 Reply Last reply Reply Quote 3
                          • Alan KilbornA
                            Alan Kilborn
                            last edited by

                            In the interest of fairness, I attempted “text-drag-and-drop-with-hopeful-autoscroll” with the Scintilla demo editor, and it behaved exactly as Notepad++ does in this regard. Perhaps this is something the Scintilla component needs to support in order for Notepad++ to (easily) support it as well?

                            1 Reply Last reply Reply Quote 3
                            • EkopalypseE
                              Ekopalypse
                              last edited by

                              See https://sourceforge.net/p/scintilla/feature-requests/497/
                              but that means Npp would have to update scintilla again, not sure this happens any time soon.

                              Alan KilbornA 1 Reply Last reply Reply Quote 1
                              • Alan KilbornA
                                Alan Kilborn @Ekopalypse
                                last edited by Alan Kilborn

                                @Ekopalypse

                                How come whenever I click on one of these Scintilla issue tracker links I feel like I always see Acknowledged. It is unlikely I will work on this. :-)

                                I had said:

                                I attempted “text-drag-and-drop-with-hopeful-autoscroll” with the Scintilla demo editor,

                                I guess I tried a non-latest version. :-)

                                EkopalypseE 1 Reply Last reply Reply Quote 1
                                • EkopalypseE
                                  Ekopalypse
                                  last edited by

                                  This is something that, if I ever finish PySnack, I will definitely do too.
                                  Bring the users onboard. :-D

                                  1 Reply Last reply Reply Quote 2
                                  • EkopalypseE
                                    Ekopalypse @Alan Kilborn
                                    last edited by

                                    @Alan-Kilborn

                                    What made me smile was that statement:

                                    after nearly 12 years of waiting I decided to take a shot. It is an important feature to me.

                                    :-D

                                    Alan KilbornA Speedy MercerS 2 Replies Last reply Reply Quote 2
                                    • Alan KilbornA
                                      Alan Kilborn @Ekopalypse
                                      last edited by

                                      @Ekopalypse

                                      At least it wasn’t “Neil” that said that! :-)

                                      EkopalypseE 1 Reply Last reply Reply Quote 1
                                      • EkopalypseE
                                        Ekopalypse @Alan Kilborn
                                        last edited by

                                        @Alan-Kilborn

                                        No, it was the OP.
                                        No one can say that the OP wasn’t patient. :-D

                                        1 Reply Last reply Reply Quote 4
                                        • Speedy MercerS
                                          Speedy Mercer @Alan Kilborn
                                          last edited by

                                          @Alan-Kilborn said in How to drag selected text to area currently off screen:

                                          I don’t think we’ve ever had anyone misinterpret the feature request instructions like @Speedy-Mercer , but I suppose the instructions could be improved.

                                          Cut me some slack, I’m unfamiliar with the way things work here, that’s why I asked for a little help. Yes, even us old geeks can be “newbies” when plopped into a new environment. ;-)

                                          Alan KilbornA 1 Reply Last reply Reply Quote 1
                                          • Speedy MercerS
                                            Speedy Mercer @Ekopalypse
                                            last edited by

                                            @Ekopalypse said in How to drag selected text to area currently off screen:

                                            @Alan-Kilborn

                                            What made me smile was that statement:

                                            after nearly 12 years of waiting I decided to take a shot. It is an important feature to me.

                                            :-D

                                            Where did that statement come from? I can’t find it in this thread yet Ekopalypse seems to think it was from me.

                                            EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors