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

Clojure syntax highlighting: char literal double quote is treated as opening string #543

Closed
NoahTheDuke opened this issue Apr 28, 2024 · 1 comment
Assignees
Labels
bug syntax-highlighting Syntax highlighting requests for new languaages or bug fixes
Milestone

Comments

@NoahTheDuke
Copy link
Contributor

Description
Most character literals (which are mostly the same as in Java) are treated as chars, except for " (double-quote) which is always treated as an opening string.

Steps to Reproduce
I am new to RSyntaxTextArea but I'm using it in clooj, which is where the screenshot below is from. I'm not exactly sure how to reproduce in another form.

Expected behavior
The \" is treated as a char instead of an opening string.

Actual behavior
It's treated as an opening string.

Screenshots
image

Java version

$ lein --version
Leiningen 2.11.2 on Java 11.0.20 OpenJDK 64-Bit Server VM

Additional context
I tried to fix it, but the flex stuff was way over my head.

@bobbylight bobbylight self-assigned this Jun 9, 2024
@bobbylight bobbylight added this to the 3.4.1 milestone Jun 9, 2024
@bobbylight bobbylight added the syntax-highlighting Syntax highlighting requests for new languaages or bug fixes label Jun 9, 2024
@bobbylight
Copy link
Owner

bobbylight commented Jun 9, 2024

Thanks for the report! This'll be in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug syntax-highlighting Syntax highlighting requests for new languaages or bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants