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

Periods and commas marked in "Marked Occurrences" #581

Closed
bobbylight opened this issue Nov 21, 2024 · 0 comments
Closed

Periods and commas marked in "Marked Occurrences" #581

bobbylight opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@bobbylight
Copy link
Owner

Description
Most languages render the ,, ;, and . chars as "identifiers" for aesthetic purposes. This has the side effect of the "Marked Occurrences" support identifying them as tokens to mark all occurrences for.

At best this is unexpected, and at worst it can cause the editor to hang for a bit when marking occurrences on huge files with lots of these characters.

Steps to Reproduce
Specific steps to reproduce the behavior:

  1. Open a Java file with those characters (many other languages share this bug as well)
  2. Put the caret before or after one instance of the characters
  3. Wait 1 second

Expected behavior
Nothing is highlighted

Actual behavior
The "marked occurrences" support marks all instances of your character.

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

1 participant