question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support specifying the number of lines scrolled by the mouse

See original GitHub issue

Is your feature request related to a problem? Please describe. No, it would be a feature to specify the lines that will be skipped when using the mouse scroll

Considering that if we open a huge text file, scrolling using the mouse scroll that currently only skips one line at a time is tiring

Describe the solution you’d like I thought of it more or less like this:

var tv = new TextView()
{
    // ...
    VerticalLinesToScroll = 5, // Anyway, any number, the default is 1, as it is currently
    HorizontalLinesToScroll = 3 // Anyway, any number, the default is 1, as it is currently, but in this case, the number would be to use with the command Shift + Mouse Scroll, which comes by default to scroll horizontally in the TextView
};

Extra note: If the values ​​are not specified, the values ​​will be the same as those that come by default in a TextView

Extra Note 2: Hope I’m not bothering you with so many issues

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
tigcommented, Jul 23, 2022

This is great stuff. Please don’t stop helping make this library better!

1reaction
rsmirnov90commented, Sep 30, 2022

I think it would also be awesome if the values could be made dynamic and be easily changeable after the widget is created.

This way, developers can implement use cases for additional scenarios such as being able to hold down modifier (or other) keys to scroll at different paces. (I.e. hold down CTRL to scroll 100 lines, SHIFT to scroll 10, etc.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10: Change How Many Lines to Scroll
You can change how many lines of text are scrolled past with the slider on the page. When you click and drag the...
Read more >
Mouse scroll number of lines setting doesn't change ...
If that doesn't help then enter Device Manager reached by right clicking the Start button, go to Mice > Touchpad and then Driver...
Read more >
Change the number of lines your mouse wheel scrolls up ...
Change how many lines your mouse wheel will scroll · Open the start menu, and type " mouse wheel " in the search...
Read more >
Increase the number of lines scrolled by a mouse wheel ...
When I use the mouse wheel, I want to be able to configure it to scroll by multiple lines at a time, e.g....
Read more >
Change Mouse Scroll Speed in Windows 10
In Windows 10, you can change the number of lines the active document will scroll for each movement of your mouse wheel.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found