Sublime Forum

Syntax hilighting breaks

#1

I’ve noticed an interesting bug; I’m using build 2180.

I’ve noticed that if a large file (over 32768 lines of source) is in the editor, syntax hilighting only works for the first 32768 lines; after that everything is white text.

I don’t know that this is an important problem to fix as source files generally should not be that long… but sqlite3.c is a very common source file and unfortunately very long (over 131000 lines!). I guess it’s not a file I typically need to open in an editor, at least.

0 Likes

#2

I don’t know of any setting for this but sometimes copying the text to a new file can help with similar issues.

But 32768 is an interesting number :wink:

0 Likes