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 fast scrolling using a modifier key

See original GitHub issue

Downstream: https://github.com/microsoft/vscode/issues/78431

VS Code has a setting editor.fastScrollSensitivity which multiplies the scroll speed when a particular modifier is down. This should be pretty easy to implement, we need to think about how the API should look. We probably need a number for the multiplier and an enum for which modifier (see https://github.com/microsoft/vscode/pull/78555).

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
csurquincommented, Aug 9, 2019

I made a pull request for this feature. I hope I did it the right way.

1reaction
Tyriarcommented, Aug 7, 2019

@csurquin sure, this is a good one as it’s pretty well defined. You should be able to find all the places you need to add a setting for by following one of the existing settings, eg.

https://github.com/xtermjs/xterm.js/blob/a89771a8de58fbc7a82323fb7d6d9c421ef63535/src/common/services/OptionsService.ts#L25

I think these are only the places where the scroll would need to be multiplied:

https://github.com/xtermjs/xterm.js/blob/a89771a8de58fbc7a82323fb7d6d9c421ef63535/src/browser/Viewport.ts#L171-L209

Read more comments on GitHub >

github_iconTop Results From Across the Web

Faster scrolling with modifier - Feature Requests - BetterTouchTool ...
Hello. Is there a way to temporarily increase the scroll speed when you hold down a modifier? Years and YEARS ago I had...
Read more >
Change Zoom settings for accessibility on Mac - Apple Support
Choose the modifier key to press and hold to zoom while scrolling: Control, Option or Command. Zoom style. When you zoom using a...
Read more >
Scroll smarter - Macworld
A handy related feature is the ability to temporarily increase scrolling speed by holding how the modifier key of your choice. (You can...
Read more >
The Quick Trick for Magnifying Your Mac's Screen
Magnify Mac Screen. Open System Preferences > Accessibility > Zoom Select “Use scroll gesture with modifier keys to zoom” Choose which modifier ...
Read more >
Lists and grids | Jetpack Compose - Android Developers
We can make the Column scrollable by using the verticalScroll() modifier. ... The key's type must be supported by Bundle , Android's mechanism...
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