[TxMt] Re: Avoid Textmate hanging on opening large single-line xml files
Igor K
me at igorkozlov.me
Mon Feb 22 22:54:32 UTC 2016
> Hi,
>
> Is there a way to break, speed up or otherwise avoid Textmate from (temporary) hanging when opening a large file without line breaks (for example a large xml or json file without line breaks)?
>
> It would’ve been nice if each window or tab ran independently from eachother, at least the one hanging window wouldn’t stop me from working… I’m waiting on a beachballing Textmate right now trying to open a 4,5MB xml file…
> In comparison, the finder preview (cmd-I) opens and shows the file in under a second… syntax coloured and all…
I'd also like to add that when using "Find in project..." and something gets matched in a very long line TM becomes extremely unresponsive.
The current workaround for me is to exclude such files from searches in .tm_properties.
But maybe it's a quick fix to at least truncate the find results if TM can't handle rendering very long lines nicely?
More information about the textmate
mailing list