[Gretl-devel] auto indent

Allin Cottrell cottrell at wfu.edu
Wed Feb 6 17:39:58 EST 2008


On Wed, 6 Feb 2008, Sven Schreiber wrote:

> /* .. */ is fine with me, but from this perspective the new 
> "comment out region" feature seems superfluous. It won't work 
> with good code because good code always includes extensive 
> comments, right? ;-)

I think you're being a little "picky" here.  The intent behind the 
Comment region/Uncomment region menu items is to provide a quick 
and easy way of disabling/enabling smallish portions of script on 
the fly, with a mouse gesture rather than fallible typing.  It's 
the sort of thing I might use when messing with a gretl script in 
front of a class, where keyboard access is awkward.

I can't easily imagine how it could work well on a chunk of script 
that includes both active commands and comments; certainly the 
code would have to be a good deal more complicated.

Allin.


More information about the Gretl-devel mailing list