Skip to content
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

Accelerate roller speed #1196

Open
3 of 5 tasks
Jerrywang2009 opened this issue Aug 6, 2023 · 7 comments
Open
3 of 5 tasks

Accelerate roller speed #1196

Jerrywang2009 opened this issue Aug 6, 2023 · 7 comments
Labels
can't reproduce This issue cannot be reproduced by us. enhancement New feature or request low_priority This label is for issues that have less prority for now.

Comments

@Jerrywang2009
Copy link

Jerrywang2009 commented Aug 6, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is this feature provided in the master branch?

  • I have checked the changelog

The problem you are facing

While writing long codes, I find it very slow to roll from the top to the bottom.

Describe the feature you'd like

The roller speed can be accelerated so that if you roll the mouse wheel once, get three lines down at least.

Describe alternatives you've considered

No response

Are you willing to contribute to this?

  • I'm ready to contribute to this (and will open a PR soon)
  • I'd like to have a try (with the help of the maintainers)
  • No, thanks

Anything else?

No response

@Jerrywang2009 Jerrywang2009 added the enhancement New feature or request label Aug 6, 2023
@ouuan
Copy link
Member

ouuan commented Aug 6, 2023

I think it already gets three lines down per roll 🤔 How many lines per roll on your machine?

We may add a setting for this, but I doubt how useful it would be. Do we set it globally, only for the code editor, or separately for each scrollable widget?

@Jerrywang2009
Copy link
Author

Just one line per roll :( I recommend to set it globally.
Recently, I'm solving some problems on Graph Theory.
You know, the graph algorithms requires a lot of variables,
so I have to scroll up, define them, scroll down, write the algorithms...

@ouuan ouuan added low_priority This label is for issues that have less prority for now. can't reproduce This issue cannot be reproduced by us. labels Aug 6, 2023
@ouuan
Copy link
Member

ouuan commented Aug 6, 2023

What's your OS?

@Jerrywang2009
Copy link
Author

Jerrywang2009 commented Aug 7, 2023 via email

@flyingpig233-cpu
Copy link

I have the same need as you.

@coder3101
Copy link
Member

Do we use QTextEdit or QPlainTextEdit in master and in stable?

I read that QTextEdit scrolls per pixel whereas later scrolls per lines.

@y-kx-b
Copy link

y-kx-b commented Nov 9, 2023

I have the same need as you.
Windows10,two(2.2?) lines per roll, font size is 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce This issue cannot be reproduced by us. enhancement New feature or request low_priority This label is for issues that have less prority for now.
Projects
None yet
Development

No branches or pull requests

5 participants