On Fri, 27 Jul 2012, Ignacio Diaz-Emparanza wrote:
On 27/07/12 10:59, Ignacio Diaz-Emparanza wrote:
> I think there is a little bug with respect to script editor. When you
> open two different scripts with tabs or separately, if you try to
> comment a region on the second script, the option "Comment region"
> does not appear in the contextual menu. It appears only in the first
Sorry, it seems the thing is not exactly as I was describing before. I
have opened the files in the reverse order and my problems is there yet.
Now, I think the problem is because the paragraph I was trying to
comment already had a commented line. It seems that if the editor finds
a commented line, then this option does not appear in the context menu.
Is this what we want? I think not.
Perhaps not, but it is by design. We offer the "comment" and
"uncomment" operations only for regions that are totally
uncommented and totally commented respectively. One point that
makes it potentially difficult to get right otherwise is that
gretl scripting supports two different sorts of commenting.