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

Code parsing bug in the DrRacket editor #278

Open
artfri13 opened this issue Jul 20, 2022 · 1 comment
Open

Code parsing bug in the DrRacket editor #278

artfri13 opened this issue Jul 20, 2022 · 1 comment

Comments

@artfri13
Copy link

What version of Racket are you using?
8.5

What program did you run?
I was using the DrRacket editor with DrRacket set to the Simply Scheme language.

What should have happened?
Less text should have been highlighted by the code highlighting feature. In the three screenshots, I was moving the text insertion mark from the very right of the third line towards the left. Also, pointing to an error in the editor's parser, the Reindent All command did not indent the last line correctly. The interpreter ran the code without errors. As you can see, too much text was being highlighted in each screenshot:

incorrect_code_highlighting_1

incorrect_code_highlighting_2

incorrect_code_highlighting_3

The only problem is that I haven't yet found out how to reproduce the bug. I hope to see the bug again, and I will add it to this issue when I do.

Please include any other relevant details
DrRacket for Apple chips, macOS 12.4, Mac Studio M1 Max

@rfindler
Copy link
Member

Thank you for submitting this issue. It turns out that the code that does the highlighting is in the racket/gui repo, so I will transfer this issue there.

@rfindler rfindler transferred this issue from racket/racket Jul 20, 2022
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