Attempt to fix automatic code folding and broken syntax highlighting on large files