As title says, SQL highlighting does not work when you wrap the statement in 2 or 3 functions (works with 1 or 4+).
Just try this piece of code:
function2(function1("SELECT * FROM table WHERE something='$variable'"));
Here is an image:

Possibly an occurence of #403.
If this is PHP, then I can confirm this will be fixed by dev build 3115.
Yes this is PHP.
I am glad at least this will be fixed, as SQL highlighting kinda sucks really hard in PHP, mainly when you use PHP variables and it just stops highlighting after the double/single quote...
Thanks.
Alright, I'm going to close this now, dev build 3115 will contain the fix.