<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Well... you could do this on your file:<div><br></div><div>cat foo.xml | ruby -e 'puts STDIN.read.gsub(/\>\</, ">\n<")' | mate</div><div><br></div><div>WDYT?</div><div><br></div><div><br><div><html>On Apr 25, 2008, at 8:39 PM, Ian Kershaw wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">Ah, good to know. Thanks.<br><br><div class="gmail_quote">On Sat, Apr 26, 2008 at 12:47 AM, Thomas Aylott - subtleGradient <<a href="mailto:textmate@subtlegradient.com">textmate@subtlegradient.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On Apr 25, 2008, at 3:31 PM, Ian Kershaw wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br> <br> 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.<br> <br> 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.<br> <br> Had this been noted before? Is there a fix in the pipeline?<br> <br> Thanks,<br> Ian.<br> <br> -- <br> Ian Kershaw<br> </blockquote> <br></div> Yes, this is the oldest bug evar.<br> It will probly be fixed in TM2.<br> You can work around it by writing a super short ruby script to replace "><" with ">\n<"<br> <br> Yes, it is a shockingly embarrassing bug :[<br>        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.<br> <br> ______________________________________________________________________<br> For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br> (threading gets destroyed and the universe will collapse if you don't)<br> <a href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">http://lists.macromates.com/mailman/listinfo/textmate</a><br> </blockquote></div><br><br clear="all"><br>-- <br>Ian Kershaw<br><br>Save paper and the environment. Don't print this email unless necessary. <br>If you do, print up to four pages on one sheet with free software FinePrint <br> <a href="http://www.fineprint.com/">http://www.fineprint.com/</a> <br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</a></blockquote></div><br></div></body></html>