- or download this
$f->Button(-text => "Sug", -command =>\&tged)->pack(-side => 'right');
- or download this
sub tged {
...
$t->tagAdd("replaced","sel.first","sel.last");
}
- or download this
$t->tagConfigure("ch_clr",-foreground=>"red");
$t->tagAdd("ch_clr","$start","$end_pt");
- or download this
$t->tagConfigure("replaced",-foreground=>"black");
$t->tagAdd("replaced","sel.first","sel.last");
- or download this
$lsugs=@sugs;
print"\nThe length of the array:";
...
print"\nThe array contents after popping:";
print "@sugs\n";