Sublime Forum

Python string highlighting breaks on line continuation

#1

This morning’s update has broken line breaks in python syntax highlighting.

For instance:

string = “Line one,
still on line one.\n
line two.”

The red bar of failure will be present for mismatching quotations on top and bottom lines and the middle line will not be highlighted at all.

This was not the case previously and is incorrect as this is perfectly valid code.

I think this should be reverted.

0 Likes

#2

This has already been reported here: https://github.com/sublimehq/Packages/issues/396

0 Likes

#3

Thanks I’ll look around more next time.

0 Likes