aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/commands.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-09-13 14:38:54 +0000
committerBlaž Hrastnik2020-09-13 14:40:11 +0000
commit96db02742e85648e4ce0c2ab9b7cd239bdb763f8 (patch)
tree92a08a66356cf7ced125be65add857904e7df11a /helix-core/src/commands.rs
parent0427acd18cc06adec49783818107d1d5e2afc2ab (diff)
Simplify some more code.
Diffstat (limited to 'helix-core/src/commands.rs')
-rw-r--r--helix-core/src/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/commands.rs b/helix-core/src/commands.rs
index 8dc817da..6c09c3ad 100644
--- a/helix-core/src/commands.rs
+++ b/helix-core/src/commands.rs
@@ -62,8 +62,8 @@ pub fn append_mode(state: &mut State, _count: usize) {
// TODO: I, A, o and O can share a lot of the primitives.
+// calculate line numbers for each selection range
fn selection_lines(state: &State) -> Vec<usize> {
- // calculate line numbers for each selection range
let mut lines = state
.selection
.ranges()