diff options
author | Blaž Hrastnik | 2021-03-29 07:32:42 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-29 07:32:42 +0000 |
commit | 742b3a709fd7680d77bcda5ae08f2a9539b6a20e (patch) | |
tree | 38589e2b87ea31ee879bc48da3c5381830ad7e5c /helix-core | |
parent | 0083a6c325d5bb9dc33a43e5b3d727bde0d7990b (diff) |
Store intra-files jumps (goto) on the jumplist.
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/selection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs index e76e12b4..c8109297 100644 --- a/helix-core/src/selection.rs +++ b/helix-core/src/selection.rs @@ -127,7 +127,7 @@ impl Range { /// A selection consists of one or more selection ranges. /// invariant: A selection can never be empty (always contains at least primary range). -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct Selection { ranges: SmallVec<[Range; 1]>, primary_index: usize, |