[SVN] r2964 (Source)

Allan Odgaard throw-away-1 at macromates.com
Thu Apr 6 22:35:02 UTC 2006


Rewritten Toggle Comment script by James Edward Gray II.

 • allow multiple comment variants to be set for a language. Use the normal environment variables with _n suffixes (with n >= 2). See e.g. PHP / Comments for an example.
 • indent comment characters by default, but can be disabled using TM_COMMENT_DISABLE_INDENT (per variant)
 • can remove comments even when the start-marker has trailing space, but there is none in the source
 • will only remove line-comments if all selected lines are commented (otherwise it will add a level)

Changed:
U   trunk/Bundles/Source.tmbundle/Commands/Toggle comment.plist



More information about the textmate-dev mailing list