[TxMt] Comment box

Allan Odgaard throw-away-1 at macromates.com
Mon Nov 6 05:35:46 UTC 2006


On 6. Nov 2006, at 06:01, xolela at mac.com wrote:

> I had tried that earlier.  It does not do what I want ie it gives:  
> [...]

It is for single lines only, yes.

> I have the tcl proc - attached below -  (originally by Vince  
> Darley) that does what I want in alphax  & I am sure that it can be  
> converted for use in textmate by someone that has more knowledge of  
> ruby than I do.

Port 160 lines of tcl code? I think just writing something from  
scratch is easier, here’s a simple 5-line version. It has hardcoded  
comment characters and is unfortunately not UTF-8 aware (as there  
seems to be no version of ljust for this).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wrap in Comment Box.tmCommand
Type: application/octet-stream
Size: 860 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061106/cfe47d7f/attachment.tmCommand>
-------------- next part --------------




More information about the textmate mailing list