[TxMt] Help with macro for comments
Steve Finkelstein
sf at stevefink.net
Fri Nov 2 22:13:28 UTC 2007
Hi all,
I'm looking to add a macro that will let me do something like
comment ->
and create an inline comment structure like:
/*
+--------------------------------------------------------------------------
| Constructor
+--------------------------------------------------------------------------
*/
The only trick is, is it possible to continue pre-pending additional |
everytime I hit a newline? so if my comment consists of more than one
line I can do
comment ->
/*
+--------------------------------------------------------------------------
| Constructor
| <-- added by macro
| <-- also added... etc
+--------------------------------------------------------------------------
*/
Cheers!
- sf
More information about the textmate
mailing list