aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r--helix-core/src/state.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs
index 65194b38..d597fcbb 100644
--- a/helix-core/src/state.rs
+++ b/helix-core/src/state.rs
@@ -198,9 +198,6 @@ impl State {
granularity: Granularity,
count: usize,
) -> Selection {
- // move all selections according to normal cursor move semantics by collapsing it
- // into cursors and moving them vertically
-
self.selection
.transform(|range| self.move_range(range, dir, granularity, count, false))
}
@@ -255,7 +252,6 @@ fn move_vertically(
let pos = pos_at_coords(text, Position::new(new_line, new_col));
let mut range = Range::new(if extend { range.anchor } else { pos }, pos);
- use std::convert::TryInto;
range.horiz = Some(horiz);
range
}