Home Download Buy Blog Forum Support

Block highlighting

Block highlighting

Postby Francisc on Thu Sep 22, 2011 7:19 pm

Hello,

I've just started using Sublime Text and really like it so far.
I have a quick question: the file I'm looking at is a mix of HTML, JavaScript and PHP.
Sublime Text changes background colour for blocks of code for each language, much like an alternating rows colour table.

My question is, does it "recognize" that "that" is HTML, "that" JS and "that" PHP and that's why it highlights them differently?
Also, if it does recognize different languages in the same file, it provides adequate highlighting for each as if they were in their own file?

Thank you.
Francisc
 
Posts: 55
Joined: Thu Sep 22, 2011 7:14 pm

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 19 guests