Topic "Option to make Shift+Scroll in the Text Editor scroll left and right instead of up and down"

Author Message
pullerrush
[View user's profile]

Joined: 2017-04-19
Posts: 3
As the title says, I think it would be useful to have the ability to scroll the editor left and right when shift is held down, when you have word wrap disabled and lines long enough to need that. It could be an option under the Editor settings category, so people would be able to disable it if, for some reason, they dislike being able to do that.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26138
Location: Prague, Czechia
This may help:
https://superuser.com/q/13763/213663
pullerrush
[View user's profile]

Joined: 2017-04-19
Posts: 3
martin wrote:

Alright, while that looks like it'll be pretty helpful in my case, I still think this should be a feature built in to the program. I won't argue it anymore, though, as long as your suggestion works.

EDIT: I just tested it, and it appears that the script works, but the WinSCP editor doesn't respond at all to a Horizontal Scroll Wheel.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26138
Location: Prague, Czechia
pullerrush wrote:
EDIT: I just tested it, and it appears that the script works, but the WinSCP editor doesn't respond at all to a Horizontal Scroll Wheel.

That that mean, that it works elsewhere (where?), but not in WinSCP editor?
pullerrush
[View user's profile]

Joined: 2017-04-19
Posts: 3
martin wrote:
That that mean, that it works elsewhere (where?), but not in WinSCP editor?

Correct. I used the AutoHotkey script provided there, which(If I understand it correctly) replaces the shift+scroll behavior with the behavior that would be associated with having a horizontal scroll wheel.
Without the script, WinSCP Editor scrolls normally when holding shift and using the scroll wheel. With the script enabled, WinSCP Editor does nothing when using shift+scroll wheel. I take the fact that the behavior changed as a sign of the script doing its job.

With the script enabled, I have tested Shift+Scrolling on Opera Web Browser, Google Chrome, Winamp, IntelliJ Idea, and Audacity, and it has worked.

On the other hand, I have also found multiple programs it doesn't work with, that also use normal scroll as the behavior when the script is disabled, but do nothing with it enabled. It should also be noted that multiple(possibly all) of the programs I successfully tested with the script also allow shift+scroll to act as horizontal scroll without the script.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26138
Location: Prague, Czechia
OK. I'll look into the horizontal scrolling, if more people ask for it.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License