Sample:
$sql = "INSERT INTO table (field) VALUES ('".$foo."')";
The bundle in 1.5.6 (1405) doesn't break out of SQL syntax highlighting properly on the string. To fix sql-string-double-quoted and sql-string-single-quoted change:
end = '"';
to regex:
end = '.*?"';
Forgive this PHP programmer if Ruby regex differs and there's a better fix than this!
On 12. Jul 2007, at 00:23, Derek Jones wrote:
Sample:
$sql = "INSERT INTO table (field) VALUES ('".$foo."')";
The bundle in 1.5.6 (1405) doesn't break out of SQL syntax highlighting properly on the string. To fix sql-string-double- quoted and sql-string-single-quoted change: [...]
Likely we’ll disable (by default) SQL coloring in PHP strings (which look like SQL) since people have too many cases where it’s too complex to get right.