jskinner / DefaultPackages

Old bug tracker for Sublime Text's "Default Packages", e.g. bad syntax highlighting
http://web.archive.org/web/20150524043750/https://www.sublimetext.com/forum/viewtopic.php?f=2&t=12095
26 stars 2 forks source link

Wrong CSS highlight syntax #132

Closed magic890 closed 9 years ago

magic890 commented 9 years ago

Wrong highlight on minified CSS with comments starts with /* */. I think that line 5 should not be highlighted as comment after the */. If you go on new line after the closing comment sign, the code line will be highlighted correctly.

Screen shot

CSS here

FichteFoll commented 9 years ago

Same issue as https://github.com/SublimeTextIssues/Core/issues/513. Line 5 has 17206 characters, which is >16384. Deleting a few at the end of the line makes it work again.