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

moving a bracket in a commented out code block incorrectly colors other brackets #6

Closed
asifamin13 opened this issue Sep 12, 2024 · 3 comments

Comments

@asifamin13
Copy link
Owner

image

Steps to reproduce:

  1. Comment out code block
  2. mouse over to a space before an open bracket in the commented section
  3. insert space
@asifamin13
Copy link
Owner Author

Encountered here

@asifamin13
Copy link
Owner Author

SCI_BRACEMATCH can give incorrect answers depending on how fast its called when styling changes.

I was able to fix this by checking if I try to brace match a non source section and delaying the computation until later

@asifamin13
Copy link
Owner Author

did a clean build of geany and geany-plugins and verified this fixes the issue

arlut@trix:~/geany-plugins$ geany -V
geany 2.1 (git >= 30f84de9a) (built on 2024-10-04 with GTK 3.24.38, GLib 2.78.0)

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

1 participant