Hi Ivan,

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

* ============
* =  comment
box
=
* ============


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.