How to drag selected text to area currently off screen
-
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.
-
Apparently not. I just tried with Notepad++ 7.8.5. :-(
-
That kinds bites, doesn’t it?
-
Note: Notepad++ v7.8.5 64bit
-
@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.
-
@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. -
@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/branchesIf 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?
-
This post is deleted! -
@Alan-Kilborn After finding an example, I went with this: https://github.com/herohog/Notepad_plus_plus/issues/1
-
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 MicrosoftNotepad.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
-
-
@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.
-
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?
-
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. -
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. :-)
-
This is something that, if I ever finish PySnack, I will definitely do too.
Bring the users onboard. :-D -
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
-
At least it wasn’t “Neil” that said that! :-)
-
No, it was the OP.
No one can say that the OP wasn’t patient. :-D -
@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. ;-)
-
@Ekopalypse said in How to drag selected text to area currently off screen:
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.