Fix single column block selection

Fixes #5039.
This commit is contained in:
Christian Duerr 2021-05-01 14:24:03 +00:00 committed by GitHub
parent 57bb7de06b
commit 68bb162740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ impl Selection {
let (start_side, end_side) = match self.ty {
SelectionType::Block
if start.column > end.column
|| (start.column == end.column && start.line < end.line) =>
|| (start.column == end.column && start.line > end.line) =>
{
(Side::Right, Side::Left)
},