[TxMt] Re: Command to align comments

JiHO jo.lists at gmail.com
Fri Mar 27 04:21:39 UTC 2009


On 2009-March-27  , at 00:03 , Michael Tyson wrote:

> Good question - I should've worked in # support the first time!
>
> I've just added it in, as well as support for /* style comments - re- 
> download from the original site, http://michael.tyson.id.au/2009/03/27/align-comments-in-textmate/
>

what about using  $TM_COMMENT_START instead of your regexp in the
	relevant_line_pattern = /^(.*?)[\t ]*(\/\/|#|\/\*)[\t ]*(.*)/
	column_search_pattern = /[\t ]*(\/\/|#|\/\*)/
lines?

JiHO
---
http://jo.irisson.free.fr/




More information about the textmate mailing list