SQL syntax highlighting error in concatenated python strings

Bcj Brendan 9 years ago updated by Joel Thornton 9 years ago 1
In python strings that are broken up onto multiple lines (e.g. see below), SQL syntax highlighting only appears on the very first line of the string.
statement = ("SELECT <col> FROM <table> WHERE "
                    "<col> = <value> AND <col> = <value>;")
I would also like to see this addressed. More broadly I believe it is a general problem with continuing a given syntax scope across string concatenation boundaries. Unfortunately those boundaries are constructed differently in every programming language so this may not be a straightforward thing to fix.