Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL highlighting not working when string is inside 2 functions #454

Closed
MiChAeLoKGB opened this issue Jun 5, 2016 · 4 comments
Closed

SQL highlighting not working when string is inside 2 functions #454

MiChAeLoKGB opened this issue Jun 5, 2016 · 4 comments
Labels
T: bug A bug in an existing language feature

Comments

@MiChAeLoKGB
Copy link

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:
sublime-sql_highlighting

@FichteFoll
Copy link
Collaborator

Possibly an occurence of #403.

@wbond
Copy link
Member

wbond commented Jun 6, 2016

If this is PHP, then I can confirm this will be fixed by dev build 3115.

@wbond wbond added the T: bug A bug in an existing language feature label Jun 6, 2016
@MiChAeLoKGB
Copy link
Author

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.

@wbond
Copy link
Member

wbond commented Jun 6, 2016

Alright, I'm going to close this now, dev build 3115 will contain the fix.

@wbond wbond closed this as completed Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: bug A bug in an existing language feature
Projects
None yet
Development

No branches or pull requests

3 participants