[SVN] r2905 (Objective-C)

Allan Odgaard throw-away-1 at macromates.com
Mon Mar 27 14:19:01 UTC 2006


• add snippet for an autorelease pool
• let the method snippets optionally use the selected text as method name (key equivalent is ctrl-shift M) — this is working so/so, it should probably do a bit of parsing on the selection to sort out number of colons (so likely make it a command)
• remove the .h suffix from the #import snippet, since it clashes with the escape completion which gives file name results that include the .h extension

Changed:
U   trunk/Bundles/Objective-C.tmbundle/Snippets/#import "" (imp).plist
U   trunk/Bundles/Objective-C.tmbundle/Snippets/050 Method (m).plist
U   trunk/Bundles/Objective-C.tmbundle/Snippets/Method Interface (m).plist
A   trunk/Bundles/Objective-C.tmbundle/Snippets/NSAutoreleasePool (pool).plist
U   trunk/Bundles/Objective-C.tmbundle/info.plist



More information about the textmate-dev mailing list