Home Download Buy Blog Forum Support

Differences in syntax coloring

Differences in syntax coloring

Postby handycam on Wed Jan 11, 2012 8:23 pm

See image:
Image

Comparing same theme in TextMate and ST2. Notice where some items are colored differently. Why is that, and where can this be tweaked?
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm

Re: Differences in syntax coloring

Postby jps on Wed Jan 11, 2012 9:10 pm

Are the syntax names the same? (i.e as displayed via control+shift+p)
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Differences in syntax coloring

Postby handycam on Thu Jan 12, 2012 1:42 pm

jps wrote:Are the syntax names the same? (i.e as displayed via control+shift+p)


Here's what I get for the 3 examples in my screen shot:

Code: Select all
COMMENT ST2: punctuation.definition.comment.html.js source.js.embedded.html text.html.basic
COMMENT TM:  punctuation.definition.comment.html.js comment.block.html.js source.js.embedded.html text.html.basic

BLOCK JS ST2:  entity.name.tag.script.html source.js.embedded.html text.html.basic
BLOCK JS TM:   entity.name.tag.script.html source.js.embedded.html text.html.basic

SRC JS ST2: entity.name.tag.html meta.tag.any.html text.html.basic
SRC JS TM:  entity.name.tag.html meta.tag.any.html text.html.basic


So, the JS < is the same, but a differing color, and the comment is a different syntax
Mac OS 10.9.3
ST 3 (3059)
handycam
 
Posts: 271
Joined: Tue Jan 03, 2012 2:42 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 22 guests