Broke Syntax Highlighting in CSS


#1

An old bug involving MaxTokensPerLine is still effecting things like CSS files. If you’re writing a style that exceeds 100 characters on a single row it stops syntax highlighting after that point, making it extremely difficult to know if something is broken. I can understand the 100 limit for things like JS where you’re only likely to exceed 100 characters in a compressed file, but in CSS it makes it hard to see what you’re doing as it’s easy to exceed 100 character count.


#2

It isn’t a bug, it is designed that way intentionally to prevent performance issues. It also is 100 tokens, not characters.


#3

is there any way to work around it for specific files? It get annoying code stops highlighting after I’ve added a handful fo styles to a row.