[TxMt] align command

thomas Aylott oblivious at subtlegradient.com
Wed Sep 27 18:05:33 UTC 2006


On Sep 27, 2006, at 1:49 PM, David Clark wrote:

> Hi,
>
> I could swear I have used a command that would reformat something like
> <tr>
> 	<td> </td>
> 	<th id="number">N</th>
> 	<th id="percontage">%</th>
> 	<th id="number">N</th>
> 	<th id="percontage">%</th>
> </tr>
> and "ex/plode" it to:
> <tr>
> 	<td                        > </td>
> 	<th id="number"     >N</th>
> 	<th id="percontage">%</th>
> 	<th id="number"     >N</th>
> 	<th id="percontage">%</th>
> </tr>
> for easy option+selection. I wanna say it was part of subtlegradient,
> but cant find it anywhere.
>
> (it probably does not help that somehow I have ended up with 3
> subtlegradieent bundles.)
>
>
> --  
> dc
> -----
> David Clark
> Web Specialist
> Institute for Community Inclusion (http://www.communityinclusion.org/)
> david.clark at umb.edu
> (617)  287-4318

hmm,.. you might want to ditch all three and grab them again.
I don't think I have  anything for that specific alignment (before  
the > character). But it's totally doable with a version of the  
alignment commands.

Here you go, just make sure you drag it into the  "subtleGradient ☜  
Thomas Aylott ß" bundle in the Bundle Editor, otherwise it won't be  
able to find the actual alignment code.
It's use the first > in each line of the selection. It works with  
column selections too, in case you need to do more than one > on the  
same line.


thomas Aylott — subtleGradient — CrazyEgg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060927/8e86d9fb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Align before >.tmCommand
Type: application/octet-stream
Size: 896 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060927/8e86d9fb/attachment.tmCommand>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20060927/8e86d9fb/attachment-0001.html>


More information about the textmate mailing list