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

Display: add highlight support to scroll bar #269

Open
icewolfz opened this issue Jun 6, 2024 · 0 comments
Open

Display: add highlight support to scroll bar #269

icewolfz opened this issue Jun 6, 2024 · 0 comments
Labels
Display Display control related issues enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required

Comments

@icewolfz
Copy link
Owner

icewolfz commented Jun 6, 2024

Add a highlight support to the scroll bar like firefox and chrome that marks found search terms

quick way to do this would probably be use a cavas that overlays the scrollbar and ignores events allowing line to be draw to show where search highlights are, t find the search highlights on the bar it should be just a matter of (line index / total lines = %) and % * scrollbar height should get me the ~ x coord to draw a colored line to mark the search term

@icewolfz icewolfz added enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required Display Display control related issues labels Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Display Display control related issues enhancement A new feature or way to improve a current feature to make it better or offer more uses wishlist Wanted but not required
Projects
None yet
Development

No branches or pull requests

1 participant