Multiline lexstyle syntax highlighting (SQLParser)

Are we able to allow syntax highlighting to ignore newlines?

As a simple example, ‘hello world’ below is all one string, but only ‘hello is highlighted in the editor.

select ‘hello
world’

Hi Todd,

Thank you for reporting this problem. We will update the SQL schema in the next release.
I’ve uploaded the modified schema alongside the demo project here:

https://drive.google.com/file/d/1rhAJs9rKpGzkVYuNIjyJiJIXVvPHE6yR/view?usp=sharing

Regards,

Andrew

Thanks for including the schema!

I had to modify the xml slightly for single quotes, but it’s what I needed.

1 Like