Hello,
I got a problem with syntax higlight i hope you will help me with. I like to start my MySQL code inside PHP files on newline like a guy in this thread:
superuser.com/questions/355766/h … -php-strin
Highlight ok in this example:
$query = "SELECT data
FROM table
WHERE param = 1
";
but no higlight in this example:
$query = "
SELECT data
FROM table
WHERE param = 1
";
so i searched the Packages / PHP / PHP.tmLanguage for a MySql string regexp.
On line 2061 i found this: '\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\b)
which should match the case. Unfortunately i wasn’t able to figure out where is the problem.
Can some some experienced user help with this please?