Sublime Forum

Build 3103 Breaks HTML JavaScript Syntax Highlighting

#1

Under the HTML syntax highlighting (or any server-side scripting language that has start/end tags that also allow HTML), JavaScript colors are foo’d. I’m not sure why there isn’t more hell being raised over such a serious issue so I’m looking into the possibility of any of my packages messing it up, but I have yet to find anything.

Issues:
Variables, methods, and function calls are the same color
Object Literals are the same color as string literals.

0 Likes

#2
0 Likes

#3

did you happen to see, read the ‘changelog.txt’ file for Build 3103?
in the one i’m looking at, the first item reads:
’ * Added new Syntax Definition file format, sublimetex-syntax

don’t know if this pertains to you, but here you go, anyways.
because you mentioned it, i paid close attention to my files before and after upgrade and it looks like my more involved css3 and php files have several bright changes in the syntax highlights of the ‘code’.
some of them i don’t get, but some are Welcome, like the simple removal of the colored block around the color ‘Azure’ (made me crazy).
perhaps you’re syntax file is affected by this change, also.
Landis.

0 Likes

#4

Read the changelog after the update once I noticed the issue as well.

Use a mixture of javascript and JSP for one of my clients, and syntax highlighting worked beautifully prior to 3103.

Now, all sorts of issues when having a combination of languages within files.

Any help is appreciated.

0 Likes