jEdit 5.3.0, TextTools 1.16.
In TextTools jEdit plugin there is the following bug:
After "Edit / Source / Line Comment", I have the following code block:
# my $Iterator = $Query->limited_dataset( [$Params->{DBStart}, $Params->{ItemsPerPage}] )->iterator; # my @Cities = (); # while (my $Item = $Iterator->fetch) { # my $City = {}; # for (keys %$Item) { # $City->{$_} = $Item->{$_}; # } # push @Cities, $City; # } # return \@Cities;
Then I run "Plugins / TexTools / Toggle Line Comment". And then it (wrongly) becomes (instead of uncommenting):
## my $Iterator = $Query->limited_dataset( [$Params->{DBStart}, $Params->{ItemsPerPage}] )->iterator; ## my @Cities = (); ## while (my $Item = $Iterator->fetch) { # # my $City = {}; # # for (keys %$Item) { # # $City->{$_} = $Item->{$_}; # # } # # push @Cities, $City; ## } ## return \@Cities;
What edit mode are you using for this code? I'm assuming Python, and using that, I can't reproduce this issue. I did these steps:
Weird. it works now without the bug (with the same versions of jEdit and TextTools).
And it is Perl.
Good to know! I'll go ahead and close this.