Closed sorawee closed 1 year ago
Looks like this was fixed for the #lang
example above by this commit and I'm seeing slightly different, but still wrong, behavior in the teaching languages:
but that might also be a problem with the module lexer, perhaps in the way that it is using (or not using) racket-lexer*
, as I see the same bad behavior as in this screenshot in both menu-based teaching languages and in the module language.
is colored as shown here:
The first and second occurrence of
#;(a b)
are colored differently, which is very weird, especially when we are in student languages.I suspect that this is because the syntax colorer for student languages is just the standard Racket's color lexer. But without the
#lang
line, it cannot find the relevant information to highlight correctly.Note that the first occurrence is fully colored as a comment. This makes sense, because before
#lang
line, S-exp comment is colored like that too.