Sublime Forum

XML syntax highlight does not work for long lines

#1

Hi,

Using Sublime Text 3 (build 3083) here and I have an XML file with some very long lines (>33k characters). The editor seems to choke at all these long lines and disables syntax highlight for them. Thus, when I look at the document, some lines have syntax highlight enabled, some don’t.

Any way to fix this?

0 Likes

#2

No. This is a hard limit. The exact number is 16384 btw.

1 Like

#3

Maybe format the XML to make it more readable?

0 Likes