[TxMt] Re: TextMate freezes when lines are super long

Walter Lee Davis waltd at wdstudio.com
Sat Dec 7 20:30:35 UTC 2013


FWIW, I believe this happens because of the regular expression scanning going on to effect syntax highlighting. If you can set this particular file type to .txt or another non-highlighted format first, you may find that opening it goes faster.

Walter

On Dec 7, 2013, at 3:22 PM, Yi Lin wrote:

> For my work I often diff dumps of databases, and sometimes those files have super long lines without newline character; for example, an insert statement for millions of record all on a single line. When I open such a file, TextMate generally freezes. It would be nice if TM can handle working with such file efficiently, or at least warn me before trying to open such a file.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list