<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi folks,</div><div><br></div><div>In case anyone else is interested, I've just put together a command that aligns comments in a block - a trivially modified version of Chris Poirer's 'align assignments' script.</div><div><br></div><div>It fixes this:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Palatino; font-size: 14px; color: rgb(102, 102, 102); line-height: 18px; "><pre lang="php" style="font-size: 10px; ">imagecopy($image, $frame, 
          ($x=max($width-$this->topRightCap[kCapWidth], $this->topLeftCap[kCapWidth])), // Destination x
          0,  // Destination y
          $x,  // Source x
          0,  // Source y
          min($this->topRightCap[kCapWidth], $width-$this->topLeftCap[kCapWidth]),  // Source width
          $this->topRightCap[kCapHeight]); // Source height</pre></span></div><div><br></div><div>Ctrl-Option-Command-/, then:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Palatino; font-size: 14px; color: rgb(102, 102, 102); line-height: 18px; "><pre lang="php" style="font-size: 10px; ">imagecopy($image, $frame, 
          ($x=max($width-$this->topRightCap[kCapWidth], $this->topLeftCap[kCapWidth])), // Destination x
          0,                                                                            // Destination y
          $x,                                                                           // Source x
          0,                                                                            // Source y
          min($this->topRightCap[kCapWidth], $width-$this->topLeftCap[kCapWidth]),      // Source width
          $this->topRightCap[kCapHeight]);                                              // Source height</pre></span></div><div><br></div><div>More info & download at <a href="http://michael.tyson.id.au/2009/03/27/align-comments-in-textmate/">http://michael.tyson.id.au/2009/03/27/align-comments-in-textmate/</a></div><div><br></div><div>Cheers,</div><div><br></div><div>Michael</div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-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: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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-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: 0px; "><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-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: 0px; "><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-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: 0px; "><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-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: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; 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; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#E8E8E8"><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><span class="Apple-style-span" style="color: rgb(232, 232, 232); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">-- </span></font></span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#B5B5B5"><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><b>Michael</b></span></font></span></span></span></span><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><b> Tyson</b></span></font></span></span></span></span></span></span></font><font class="Apple-style-span" color="#B5B5B5"><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><span class="Apple-style-span" style="color: rgb(181, 181, 181); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><span class="Apple-converted-space"> </span>|</span></font></span></span></span></span></span></span></font><font class="Apple-style-span" color="#C4C4C4"><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><span class="Apple-style-span" style="color: rgb(196, 196, 196); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "> <a href="http://michael.tyson.id.au"><font class="Apple-style-span" size="2"><span class="Apple-style-span" style="font-size: 10px; "><font class="Apple-style-span" color="#97A4C2">michael.<font class="Apple-style-span" color="#A4A9D5">tyson</font>.id.au</font></span></font></a></span></font></span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#DBDBDB"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><br class="khtml-block-placeholder"></span></font></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#A0A0A0"><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">m</span></font></span></span></span></span></span></span></font><font class="Apple-style-span" color="#BEBEBE"><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">: (+61) 0407 754 124</span></font></span></span></span></span></span></span></font></div><div><font class="Apple-style-span" color="#A0A0A0"><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">e</span></font></span></span></span></span></span></span></font><font class="Apple-style-span" color="#BEBEBE"><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">: </span></font></span></span></span></span></span></span></font><a href="mailto:mike@tyson.id.au"><font class="Apple-style-span" color="#C2C2C2"><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(194, 194, 194); -webkit-text-decorations-in-effect: underline; "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">michael@tyson.id.au</span></font></span></span></span></span></span></span></font></a></div><font class="Apple-style-span" color="#BEBEBE"><font class="Apple-style-span" color="#A0A0A0"><span class="Apple-style-span" style="color: rgb(160, 160, 160); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">aim</span></font></span></font><span class="Apple-style-span" style="color: rgb(190, 190, 190); "><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; ">: mikerusselltyson</span></font></span></font><br class="Apple-interchange-newline"></span></span></span></span></span></span></span></span></span></span></span></span></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><font class="Apple-style-span" color="#BEBEBE" size="3"><span class="Apple-style-span" style="font-size: 11px; "><span class="Apple-style-span" style="color: rgb(160, 160, 160); ">twitter</span>: MichaelTyson</span></font></div></span></div></span></div></span></div></span></div> </div><br></body></html>