I have created a custom syntax file for Smalltalk/X - smalltalk embedded with C.
The highlighting file is mostly correct (still needs some love, but that is out of the scope of this question).
I have encountered weird limit on file size. Every file less than or equal 100.00kB has corrected highlighted syntax.
Every file larger (or equal) than 100.01kB has simple coloring.
The question
Is there an option which would allow me to fully color larger files? (I tried to search everywhere but could not find anything like it).
Edit - adding samples of the fully colored file and less colored (the difference is 1 Byte)
The fully colored looks like this:
Link for it is here
The improperly colored one:
Link for it is here
Windows 1252
as the encoding. Usingmeld
to see what's different reports an encoding conversion error. So possibly if your encoding is set incorrectly for the file it's confusing the syntax highlighting.meld
.