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

How to get a scroll bar area more similar to other editors? #7066

Closed
tobimensch opened this issue Sep 8, 2016 · 2 comments
Closed

How to get a scroll bar area more similar to other editors? #7066

tobimensch opened this issue Sep 8, 2016 · 2 comments
Projects

Comments

@tobimensch
Copy link

tobimensch commented Sep 8, 2016

Before I cause any confusion: I don't want a typical scroll bar (that you can drag with the mouse and click on), and I accept that spacemacs has its own paradigms.

However.

I find it really useful that in modern editors(and IDEs) you get hints in the scrollbar area, so that you can directly see where in the file there are syntax errors or changed lines or something else of that sort. I experienced how useful this can be with QtCreator, netbeans and IntelliJ.

For example I can get an indicator (+) about an added line now with spacemacs on the right side of the buffer, but only if I'm already in the region of that line. If I want to know where changes were made (or where errors/warnings/... are) in a huge source file, I don't want to hit page down a hundred times, instead I want to see all of them indicated in a scroll bar like visual area. The top of this area should represent line 1, and the bottom should represent the last line, the middle should represent 50%. There should also be an indicator on this "scroll bar" for the cursor position.

@tobimensch
Copy link
Author

Looks like it could be implemented with this package:
https://github.com/Fuco1/indicators.el

There's just one major limitation

If multiple indicators fall on the same physical line they will inherit the color of the indicator with highest priority (this is a limitation of emacs fringes and cannot be fixed). You can specify the priority with keyword argument :priority number.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@lebensterben lebensterben removed the stale marked as a stale issue/pr (usually by a bot) label Feb 4, 2022
@lebensterben lebensterben moved this from Answered, waiting to To close in Forum Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Forum
  
To close
Development

No branches or pull requests

3 participants