<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Thomas,<div><br class="webkit-block-placeholder"></div><div>I had a look at the CSS bundle already, but I will definitely try and get a better grip on the rules you have there.</div><div><br class="webkit-block-placeholder"></div><div>I think the idea of compressing as well as alphabetizing is good, but I wanted to make it fairly solid before I looked at integrating with anything else.</div><div><br class="webkit-block-placeholder"></div><div>Alphabetizing is quite helpful when you get used to it, and certainly helps when you're inheriting a code base.  The script seems to run very quickly, although I'm on a dual-core MBP.</div><div><br class="webkit-block-placeholder"></div><div>Thanks for your reply,</div><div><br class="webkit-block-placeholder"></div><div>Pete</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On 11 Mar 2008, at 12:00, Thomas Aylott wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgba(0, 0, 0, 0.498039); "><b>From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica; font-size: medium; ">Thomas Aylott - subtleGradient <<a href="mailto:textmate@subtleGradient.com">textmate@subtleGradient.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgba(0, 0, 0, 0.498039); "><b>Date:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica; font-size: medium; ">10 March 2008 12:37:17 GMT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgba(0, 0, 0, 0.498039); "><b>To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica; font-size: medium; ">TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgba(0, 0, 0, 0.498039); "><b>Subject:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica; font-size: medium; "><b>Re: [TxMt] Bundle to alphabetize CSS rules</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-family: Helvetica; font-size: medium; color: rgba(0, 0, 0, 0.498039); "><b>Reply-To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica; font-size: medium; ">TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br></span></div><br><br>Personally this comment would confuse me for my own CSS. But I can imagine it being useful for working with other peoples crazy CSS files.<br><br>There are already reformatting macros in the CSS bundle that I made to completely compress or pretty-print all your rules. It might make sense to merge these commands somehow. Depending on the speed of the php.<br><br>Check out the regex I use in those macros. I tried to make it pretty flexable and just ignore the contents of of the rules. I haven yet heard of anyone running into a rule that my redormatter breaks.<br><br>Thomas Aylott [SubtleGradient] from iPhone</span></blockquote></div><br></div></body></html>