-
Notifications
You must be signed in to change notification settings - Fork 7
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
Improve highlighting feedback #4
Improve highlighting feedback #4
Conversation
I don't need this feature, what the purpose of this?
So you want make delay user-configurable? I don't thinks 100ms is not problematically slow for most of user. But I can add this config params, Is this really need? |
For about your 1st suggestion, your concern is performance overhead for highlight, to avoid scan whole buffer, you have following configuration parameter to control this
And highlight itself won't scan whole buffer, only scan visible buffer ranges, so theoretically its performance impact is same regardless of number of line of buffer. |
Sorry I wanted my commit to bind to issue #5. |
Released v0.3.9. |
Sorry for way too late response.
Just to clear things up, I was talking specifically about feature from #1 purposal, not about fixed markers. This suggestion allows quickly reason about unused or not declared variables/functions/types in multipage buffers. E.g. given this part of buffer visible, you can't tell whether
Using So I opted for another option: just to omit highlighting, as e.g. KDE Kate highlight selection extension does. Perhaps you're right, that's a bit out of concept of status bar icon, but I liked it this way, so shared.
Yeah, that's why I wanted an explicit option turned off by default for new behaviour. |
So you want to distinguish one occurrence or may occurrence of keyword for hightlightSelection. Currently you can know number of occurrence by manually toggle and check statusbar icon as you described. After I understand background of this PR but I still think this feature is misleading and dont want to add even if KDE support this. I thinks updating occurrence count icon on highlightSelection solve your requirement. Anyway I need some time. e.g. incremental search on my vim-mode-plus package |
Please, excuse my stupid mistake and just ignore
That feels too Nevertheless, your package fits best at the moment, thanks. |
Tried to improve a bit highlight-on-fly feature:
highlightSelectionExcludeUnique
config option.highlightSelectionThrottle
setting to allow modifying it with ease.