Home Download Buy Blog Forum Support

Sublime and PHP

Sublime and PHP

Postby Squier on Wed Nov 30, 2011 1:06 pm

Image
Illumination is normal, until it reaches to php+html+js.
how to fix?
Squier
 
Posts: 5
Joined: Wed Nov 30, 2011 1:02 pm

Re: Sublime and PHP

Postby werchter on Wed Nov 30, 2011 7:50 pm

I suppose Sublime supports the heredoc syntax, but it looks like type <script> tag (or actually, not closing it) is the thing that breaks the syntax highlighting in your example.

Although probably not a permanent solution, this is a quick fix for this specific code:
Code: Select all
?><script type="text/javascript"><?php
echo <<<<HTML

// javascript code here

HTML;
This signature was hacked 1 time
werchter
 
Posts: 17
Joined: Fri Feb 11, 2011 1:32 pm

Re: Sublime and PHP

Postby Squier on Wed Nov 30, 2011 11:48 pm

in gedit all okay
Squier
 
Posts: 5
Joined: Wed Nov 30, 2011 1:02 pm

Re: Sublime and PHP

Postby Squier on Mon Dec 05, 2011 1:29 pm

no solutions?
Squier
 
Posts: 5
Joined: Wed Nov 30, 2011 1:02 pm

Re: Sublime and PHP

Postby Squier on Thu Dec 08, 2011 1:40 pm

Maybe can leave the lights only php and html? without js
Squier
 
Posts: 5
Joined: Wed Nov 30, 2011 1:02 pm

Re: Sublime and PHP

Postby Squier on Sat Dec 24, 2011 10:18 pm

up
Squier
 
Posts: 5
Joined: Wed Nov 30, 2011 1:02 pm


Return to Technical Support

Who is online

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