Oh wow. That's perfect. I didn't realize how great and easy macros were. 

thanks!

On Tue, Nov 16, 2010 at 2:58 PM, Steve King <sking@arbor.net> wrote:
On 2010-11-05 06:30, Tim Diggins wrote:
Is there a way to make this happen? Can I "decorate' those commands somehow to select the relevant lines first... Or would I just have to rewrite those particular features (for each bundle I want them to happen in? )

You can easily "decorate" these commands by creating macros.  For each command, create a macro that first selects the line (Edit -> Select -> Line) then does the indentation, comment, or whatever.  Selecting a line when you already have a selection converts the entire selection into a line-based selection, which is exactly what you want.

--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>




_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate



--
------------------------------------------------------

Tim Diggins
http://red56.co.uk
http://tim.teamportfolios.com/