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

Syntax Highlighting stops working when case sensitivity is toggled #22

Open
HACKE-RC opened this issue May 16, 2024 · 0 comments
Open

Comments

@HACKE-RC
Copy link

When creating a language definition, after setting up all the keywords and identifiers, if I set the mCaseSensitive member of the LanguageDefinition struct to true (assuming my keywords and identifiers are in lowercase) the syntax highlighting works perfectly, as shown below:
image

But, when I switch it to false, I expect it to highlight both the uppercase and lowercase identifiers in the same way, but it does not do that and syntax highlighting just stops working, as shown below:
image

I suspect it has something to do with this line:
image

But I'm not entirely sure.

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