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:

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:

I suspect it has something to do with this line:

But I'm not entirely sure.
When creating a language definition, after setting up all the keywords and identifiers, if I set the

mCaseSensitivemember of theLanguageDefinitionstruct totrue(assuming my keywords and identifiers are in lowercase) the syntax highlighting works perfectly, as shown below: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:I suspect it has something to do with this line:

But I'm not entirely sure.