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

Avoid highlighting punctuation chars #7527

Open
shapaz opened this issue Feb 20, 2025 · 1 comment
Open

Avoid highlighting punctuation chars #7527

shapaz opened this issue Feb 20, 2025 · 1 comment

Comments

@shapaz
Copy link

shapaz commented Feb 20, 2025

Is your feature request related to a problem? Please describe.
I use the cursor text highlight feature quite often. I changed the settings so it's invoked on left-click (as in VSCode or JADX) instead of middle/scroll-click (why isn't this the default?).

When reversing I tend to click the decompiled code a lot, and sometimes on punctuation symbols, e.g., parenthesis, semicolons, operators, etc. When this happens, it highlight all occurrences of that symbol, which tends to be a lot (e.g., almost every line ends with a semicolon).
Image

It also disrupts the normal behaviour of bracket/parenthesis matching, since not only the match is highlighted, but also all occurrences of the clicked bracket/parenthesis.
Image

Describe the solution you'd like
I think it would be better to have the text-highlighting feature ignore clicks on non-words. This behaviour is consistent with other code editors such as VSCode and JADX.

@astrelsky
Copy link
Contributor

Yes, this is super annoying and there's no way to turn it off.

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

No branches or pull requests

2 participants