The new syntax highlighting is written in JavaScript and can be slow for large documents. We should make is lazy and only syntax highlight visible lines of code and delays the rest until the user scrolls down. Some of the work to make this lazy has already been done in the original patch. Related to bug 14360.
Created attachment 21858 [details] Proposed patch
Comment on attachment 21858 [details] Proposed patch + if (i < (end - 1)) + deleteContinueFlags(previousCell); I think if (i > 0) would be clearer here. r=me
(In reply to comment #2) > (From update of attachment 21858 [details] [edit]) > + if (i < (end - 1)) > + deleteContinueFlags(previousCell); > > I think if (i > 0) would be clearer here. ...and more correct.
Landed in r34695.