Oh, now that is sweet. After fixing the problem caused by Logitech Control Centre it works a treat.
Thanks very much!
Well... you could do this on your file:cat foo.xml | ruby -e 'puts STDIN.read.gsub(/\>\</, ">\n<")' | mateWDYT?On Apr 25, 2008, at 8:39 PM, Ian Kershaw wrote:Ah, good to know. Thanks.On Sat, Apr 26, 2008 at 12:47 AM, Thomas Aylott - subtleGradient <textmate@subtlegradient.com> wrote:On Apr 25, 2008, at 3:31 PM, Ian Kershaw wrote:Yes, this is the oldest bug evar.
Hi,
I've done a basic search on Google but can't find anything specific about a problem I'm having with Textmate, namely handling large textfiles or textfiles with long lines.
It's driving me nuts. I'm having to deal with XML and HTML files which have been 'compacted' so there are no carriage returns / line feeds and I want to tidy them up in TextMate so I can make then human readable but TextMate just takes forever to load the files. TextPad on the PC has no problems, but I didn't switch to Mac for my Windows colleagues to point and laugh! :) Seems like a basic capability of text editor that TextMate just can't deal with.
Had this been noted before? Is there a fix in the pipeline?
Thanks,
Ian.
--
Ian Kershaw
It will probly be fixed in TM2.
You can work around it by writing a super short ruby script to replace "><" with ">\n<"
Yes, it is a shockingly embarrassing bug :[
but there are hundreds of billions of awesome features that will make all your windows buddies extremely defensive and secretly cry themselves to sleep at night.
______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
--
Ian Kershaw
Save paper and the environment. Don't print this email unless necessary.
If you do, print up to four pages on one sheet with free software FinePrint
http://www.fineprint.com/
______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate