Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make Editor Scrolling Only Happen If Text Selected #2120
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: