Hi guys, I'm a new TM user and I've noticed two very peculiar things about TM.
When you have a file that has only one line break (say a minimized css or js file) and if you have Soft Wrap enabled, TM will freeze for 10 minutes at a time! Totally weird. Even a TextEdit works perfectly with something like that.
Another issue is slow regexp. Whenever I execute regexp on a file that's about 5K lines, TM freezes for 20+ seconds. I've never seen such a slow regexp. Am I doing something wrong or is there a preference/switch that I could set so it doesn't do that?
Thanks for any help!
Dave
On 8 May 2009, at 06:52, David Ross wrote:
When you have a file that has only one line break (say a minimized css or js file) and if you have Soft Wrap enabled, TM will freeze for 10 minutes at a time! Totally weird. Even a TextEdit works perfectly with something like that.
TextMate is line-oriented, and it gives the entire line to the spell checker, the parser, the text layouter/renderer, etc. Especially the last part is _really_ slow with extremely long lines. It’s a known problem.
Another issue is slow regexp. Whenever I execute regexp on a file that's about 5K lines, TM freezes for 20+ seconds. I've never seen such a slow regexp. Am I doing something wrong or is there a preference/switch that I could set so it doesn't do that?
There is no turbo button, no. What regexp are you using for the search? Regexps have varied running time.