New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Editor Scrolling Only Happen If Text Selected #2120

Open
JorMox opened this Issue Nov 17, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@JorMox
Copy link
Contributor

JorMox commented Nov 17, 2018

Brief summary of issue / Description of requested feature:

The editor window was scrolling any time someone clicked on it close enough to the edge (several lines on the top and bottom), which was causing problems, and so was disabled. In turn, this disabled the ability to scroll the window while selecting text. My idea is to make the scrolling only happen if text is selected, that way just clicking near the edge of the window won't do anything under normal circumstances.

Additionally, it may be worth looking into limiting the distance from the edge where this happens, to reduce the chance that someone is surprised by the scrolling. Specifically, it should be possible to select the bottom visible line of text if the mouse is near the top of that line of text, without danger of scrolling the window.

Steps to reproduce the issue / Reasons for adding feature:

Error output / Expected result of feature

Extra information, such as Mudlet version, operating system and ideas for how to solve / implement:

Mudlet 3.15

@bewulf007

This comment has been minimized.

Copy link

bewulf007 commented Jan 11, 2019

It looks like this is also an issue when trying to move the cursor in Mudlet's editor? On 3.16.1, if I try to use the up arrow in the text editor it keeps scrolling off the screen, leaving me free to make code changes that I can't actually see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment