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

Feature Request: Enable the current line to be highlighted in the gutter #124

Closed
joelmoniz opened this Issue Jul 7, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@joelmoniz
Copy link
Contributor

joelmoniz commented Jul 7, 2015

For example, like so:

highlight current line in gutter

Would it also be possible to allow customization of the highlight colour, something analogous to the RSyntaxTextArea.setCurrentLineHighlightColor() method, but for the Gutter?

@bobbylight

This comment has been minimized.

Copy link
Owner

bobbylight commented Jul 19, 2015

I'm not interested in implementing this. RSTA used to behave this way, but I took it out purely because of personal preference. Pull requests are welcome if you are interested in adding this feature, but it would have to be the case that:

  • It was an option to toggle this setting on and off
  • It works appropriately when line wrap is enabled (and thus line numbers are not always evenly spaced)
  • It works properly with code folding taken into account

Unit tests would be a huge bonus as well.

@joelmoniz

This comment has been minimized.

Copy link
Contributor

joelmoniz commented Jul 19, 2015

Thank you. I shall take a shot at sending in a PR that implements this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment