You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query=""" SELECT * FROM book; SELECT id FROM user;"""
Two queries should be highlighted separately (starting token is SELECT , ending is semicolon (;).
The thing I'm worried about here is false positives like this one:
query=""" THIS IS SOME CAPS TEXT. WHO KNOWS WHY IT'S CAPS, but the next line is highlighted as SQL. SELECT COMMITTEE .. SOME GIBBERISH FROM SOMETHING. """
The text was updated successfully, but these errors were encountered:
barklan
changed the title
Syntax highliting for individual queries (abstracted from language-specific strings)
Syntax highliting for individual queries in multiline strings (abstracted from language-specific strings)
Jun 23, 2022
Example:
Two queries should be highlighted separately (starting token is
SELECT
, ending is semicolon (;
).The thing I'm worried about here is false positives like this one:
The text was updated successfully, but these errors were encountered: