[TxMt] slow loading of large html/xml documents
Thomas Aylott (subtleGradient)
oblivious at subtlegradient.com
Thu Jul 5 14:32:47 UTC 2007
On Jul 5, 2007, at 6:30 AM, Tobias Jung wrote:
> At 12:03 Uhr -0400 03.07.2007, Thomas Aylott (subtleGradient) wrote:
>> I regularly have to deal with html documents that have been
>> stripped of all newlines.
>
> Well, maybe this isn't the kind of solution you're looking for, but...
> Wouldn't it be better to use the "tidy" tool on these files
> _before_ opening them in TextMate? After all, it isnt't fun to work
> with "no linebreaks" HTML files anyway.
>
> Using the following command line in the Terminal should give you a
> cleanly formatted file and leave most of the HTML code itself
> untouched:
>
> tidy -o destiny.html -iq -wrap 70 --tab-size 4 --indent-spaces 4
> source.html
>
> Kind regards,
> Tobias
unfortunately the whole reason I have to load these files is to debug
them asis.
tidy-ing them would break their brokenness
thomas Aylott — subtleGradient
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070705/2167e29b/attachment.html>
More information about the textmate
mailing list