Skip to content

Commit

Permalink
fix selection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Jul 20, 2024
1 parent c0e406e commit 0b28113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Prima/Edit.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ sub set_selection
if ( $ey == $oey) {
if ( $sx == $osx) {
$start = $end = $ey;
$sx = $osx = length $self->get_chunk($start) if $ey != $sy;
$sx = $osx = 0 if $ey != $sy;
} elsif ( $ex == $oex) {
$start = $end = $sy;
$ex = $oex = length $self->get_chunk($start) if $ey != $sy;
Expand Down

0 comments on commit 0b28113

Please sign in to comment.