[TxMt] Command or Macro help

Ketan Anjaria fire at kidbombay.com
Wed Mar 9 16:16:57 UTC 2005


Not sure if this needs to be a command or macro or what but I can't 
seem to figure this out.

I need the ability to output parameters of functions so if I have the 
following code (actionscript):

GenericList_prototype.name = function (param1,param2) {
	statement;
}

I want to be able to click anywhere within the function, hit a key 
(command T) and have the text changed to:

GenericList_prototype.name = function (param1,param2) {
	trace("GenericList.name > param1 = " + param1 + " > param2 = " + 
param2);
	statement;
}

This is so I can output parameters to functions. Any ideas? Not even 
sure where to start.

Ketan Anjaria
fire at kidbombay.com
www.kidbombay.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 814 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20050309/d59c3324/attachment.bin>


More information about the textmate mailing list