[TxMt] Comment box

xolela at mac.com xolela at mac.com
Mon Nov 6 05:01:18 UTC 2006


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 at mac.com <xolela at 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 at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061106/d7bbfd17/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commentbox.tcl
Type: application/applefile
Size: 468 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061106/d7bbfd17/attachment.tcl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commentbox.tcl
Type: application/octet-stream
Size: 6405 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061106/d7bbfd17/attachment-0001.tcl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20061106/d7bbfd17/attachment-0001.html>


More information about the textmate mailing list