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

Highlight other matches of selected text #42

Closed
andreikop opened this issue Aug 29, 2012 · 2 comments
Closed

Highlight other matches of selected text #42

andreikop opened this issue Aug 29, 2012 · 2 comments
Labels
Milestone

Comments

@andreikop
Copy link
Owner

Moved from #41

Enki should be able to highlight other occurrences of the word under cursor in the visible part of file, like in NetBeans (or some). The highlighting should not come at expense of slowing down Enki, it should be with reasonable delays and be lower priority than typing (unlike some auto-command scripts for Vim).

@andreikop
Copy link
Owner Author

I would say, that NetBeans highlighting is annoying.
Need to think, how to make this functionality useful, but not annoying.

@vi
Copy link
Contributor

vi commented Aug 30, 2012

At the first there should be highlighting when doing incremental searching (especially when more than 2 characters are already typed).

What is annoying in identifier highlight? Of course it should be optional and configurable. The main use case is when you put cursor into some identifier and immediately see all occurrences, without needing to scan thought the code to find where this variable was defined.

Also the current title seems to be wrong a bit. Not the other occurrences of the selected text should be highlighted, but 1. other occurrences of the text being searched, 2. other occurrences of the identifier under cursor (as in Ctrl+<).

Create an edited Enki screenshot that demonstrates how I expect this to look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants