summaryrefslogtreecommitdiff
path: root/helix-core/src/selection.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-06-07 15:31:11 +0000
committerBlaž Hrastnik2020-06-07 15:41:37 +0000
commitf8fe273a2e52659f89c82f94fab4b2800518bbea (patch)
treea88825798d4db9fe3e4125eba3d554672da65d4b /helix-core/src/selection.rs
parent843c20a5504a110dd0bc726d84062851290f1afe (diff)
Fix build.
Diffstat (limited to 'helix-core/src/selection.rs')
-rw-r--r--helix-core/src/selection.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs
index b02560a8..3e28c9ce 100644
--- a/helix-core/src/selection.rs
+++ b/helix-core/src/selection.rs
@@ -97,6 +97,7 @@ 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]>
pub(crate) ranges: SmallVec<[Range; 1]>,