Open AnHeuermann opened 5 months ago
@adeas31 as I understand you should ignore "
and //
in the syntax highlighting logic if they are inside a Q-IDENT.
Oops, I ran Check on @AnHeuermann's provided model and I got this error:
[1] 23:37:41 Syntax Error
[M: 2:11-2:11]: Lexer got ''a"' but failed to recognize the rest: 'b';
Real '
So it looks like putting comments and literal string delimiters in Q-IDENTS also breaks the lexer, not only syntax highlighting.
I fixed that yesterday and added the above model as a test. Maybe try again or is it a Windows thing?
I guess I should try with a new nightly build 😅
OK with the new nightly the lexer issue is fixed. The syntax highlighting issue is still there. BTW, I ran the model and I also go
Process crashed Simulation process failed. Exited with code 0xffffffffc0000005.
Failed to parse QuotedIdentifier_info.json
Expected ']', got: b'"],"uses":["$START
Process crashed
@AnHeuermann would you mind having a look at that?
I'll have a look.
Description
Quoted identifiers are breaking the syntax highlighting.
Steps to Reproduce
Insert in the text view of OMEdit
Expected Behavior
Something like this:
Version and OS