simongregory / actionscript3-tmbundle

ActionScript 3 TextMate Bundle
http://blog.simongregory.com
MIT License
118 stars 46 forks source link

Enhance method snippet command. #3

Closed simongregory closed 14 years ago

simongregory commented 15 years ago

When using shift-return the method command should inspect the input string and match 'Handler' suffixes, 'on' prefixes etc and inject 'event:Event' into the method signature.

simongregory commented 14 years ago

This is done and being tested in the sg branch. See this commit (59f67627f5e22bfefd4b45a0203140fc37afb7a3) for details.

simongregory commented 14 years ago

Seems to be working ok so I've cherry-picked to master af7421d04bb2db34f3896cb