Re: [code] [textadept] Toggle Block Comment

From: A.M. Genaev <>
Date: Wed, 4 Sep 2013 17:35:35 +0700

Hi Robert,

> > How may i to change behaviour of Ctrl+/ to comment commented lines
> > additionally? And to add some key (for example Ctrl+Shift+/) to uncomment
> > block?
> in the block_comment function in 'editing.lua' is an if block where the
> first removes comments and the else block adds a comment prefix/suffix
> if none exists. You could take this function as a starting point,
> turning it into two functions that have only one of these options.

Thank you for idea.

My init.lua became twice more by size but I made as wanted. :)


A.M. Genaev <>
You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 04 Sep 2013 - 06:35:35 EDT

This archive was generated by hypermail 2.2.0 : Wed 04 Sep 2013 - 06:47:57 EDT