Code parsing bug in the DrRacket editor
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
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:
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the issue in DrRacket 8.5 using the Simply Scheme language on macOS, then compare code highlighting with the Reindent All result. Done means a reliable reproduction or a confirmed explanation for the incorrect highlighting and indentation.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100