Closed ryanfitzer closed 7 years ago
This a limitation introduced in TextMate for speed related purposes, there is no bug with the grammar/bundle itself.
Thanks for the quick reply.
My expectation then would be that it stops syntax highlighting. Instead, it continues, but hightlights various parts incorrectly as syntax errors. Is that the intended functionality?
The string is matched with a begin/end rule, so the begin matches on "
but because the parsing is cut off the end of the string is never seen and thus the string doesn't end.
Syntax highlighting is currently failing when long strings are present.
This block is properly syntax highlighted:
This block is not properly syntax highlighted:
The only difference between the two is that the keys character lengths differ by 1 character. It can also be reproduced by altering the values character lengths.