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.

On Nov 5, 2006, at 11:31 PM, Ivan Pan wrote:
On 11/5/06, xolela@mac.com xolela@mac.com wrote:
Hi,
I have tried to do search but couldn't find a solution for this, so any assistance would be helpful. I want to be able to create a comment box round a selection - say round the text "comment box" as below (Eg shown uses Stata style comments). I need functionality primarily for use in the R and Stata bundles. Thanks in advance for any leads.
/**************
*
- comment *
- box *
*
*
**************/
Try this keyboard shortcut: control-shift-b, or Bundles -> Source -> Insert Comment Banner.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate