diff options
author | Blaž Hrastnik | 2021-03-14 01:04:03 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-14 08:14:34 +0000 |
commit | 1cf887dea93f7aa2184772fa2073751f031c5bf3 (patch) | |
tree | 26756386efff7c8dd07c918a78a7a2c485816698 /helix-core/src/selection.rs | |
parent | 3445abf88e550cce8ff5683f6fe45d7310597fd7 (diff) |
Cleanup: use doc.selection() instead of doc.state.selection().
Diffstat (limited to 'helix-core/src/selection.rs')
-rw-r--r-- | helix-core/src/selection.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs index edad81a7..ee925cbc 100644 --- a/helix-core/src/selection.rs +++ b/helix-core/src/selection.rs @@ -128,7 +128,6 @@ impl Range { /// A selection consists of one or more selection ranges. #[derive(Debug, Clone)] pub struct Selection { - // TODO: decide how many ranges to inline SmallVec<[Range; 1]> ranges: SmallVec<[Range; 1]>, primary_index: usize, } |