);
sub on_sel_extend {
- my ($self) = @_;
+ my ($self, $time) = @_;
my ($row, $col) = $self->selection_mark;
my $line = $self->line ($row);
}
}
+ # whole line
+ push @matches, [0, ($line->end - $line->beg + 1) * $self->ncol];
+
for (sort { $a->[1] <=> $b->[1] or $b->[0] <=> $a->[0] } @matches) {
my ($ofs, $len) = @$_;
return 1;
}
- # whole line
- $self->selection_beg ($line->beg, 0);
- $self->selection_end ($line->end, $self->ncol);
-
- return 1;
+ ()
}
&& HOOK_INVOKE ((this, HOOK_SEL_EXTEND, DT_END)))
{
MEvent.clicks = 1; // what a mess
+ selection.screen = current_screen;
+ selection.op = SELECTION_CONT;
return;
}