[TxMt] TmCodeBrowser for Actionscript?
Simon Gregory
simon at helvector.org
Sat Nov 5 13:19:12 UTC 2005
> Sorry, I overlooked an escaped backslash. Try this:
>
> --langdef=ActionScript
> --langmap=ActionScript:.as
> --regex-ActionScript=/^[ \t]*[(private|public|static)( \t)]*function
> [ \t]+([A-Za-z0-9_]+)[ \t]*\(/\1/f,function,functions/
> --regex-ActionScript=/^[ \t]*[(public)( \t)]*function[ \t]+(set|get)
> [ \t]+([A-Za-z0-9_]+)[ \t]*\(/\2/p,property,properties/
> --regex-ActionScript=/.*\.prototype\.([A-Za-z0-9 ]+)=([ \t]?)
> function([ \t]?)*\(/\1/f,function,functions/
This works a treat. Thanks Gerd !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2428 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20051105/9f00427d/attachment.p7s>
More information about the textmate
mailing list