An abnormal syntax coloring is found. Please see the email for the specific phenomenon.
An abnormal syntax coloring is found. Please see the email for the specific phenomenon.
Hello,
The scenario you describe is all due to tokenization. Our current CSS lexer implementation seems to have a bug in the CommentText pattern group where each comment text character is its own token. And when a token starts, it first checks to see if a parent language should end.
<RegexPatternGroup TokenKey="CommentText" Pattern="[^*]" />
If we fix the bug and change it to this instead, it should help with the problem you saw:
<RegexPatternGroup TokenKey="CommentText" Pattern="[^*]+" />
Please log in to a validated account to post comments.