aboutsummaryrefslogtreecommitdiff
path: root/src/selection.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.rs')
-rw-r--r--src/selection.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/selection.rs b/src/selection.rs
index 64cee8c2..b5bf5493 100644
--- a/src/selection.rs
+++ b/src/selection.rs
@@ -39,6 +39,7 @@ use grid::ToRange;
/// [`simple`]: enum.Selection.html#method.simple
/// [`semantic`]: enum.Selection.html#method.semantic
/// [`lines`]: enum.Selection.html#method.lines
+#[derive(Debug, Clone)]
pub enum Selection {
Simple {
/// The region representing start and end of cursor movement
@@ -64,6 +65,7 @@ pub enum Selection {
}
/// A Point and side within that point.
+#[derive(Debug, Clone)]
pub struct Anchor {
point: Point,
side: Side,