aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/range.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/range.rs')
-rw-r--r--helix-core/src/range.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/helix-core/src/range.rs b/helix-core/src/range.rs
new file mode 100644
index 00000000..46411664
--- /dev/null
+++ b/helix-core/src/range.rs
@@ -0,0 +1,9 @@
+use crate::Position;
+
+#[derive(Clone, Copy, PartialEq, Eq)]
+pub struct Range {
+ pub start: Position,
+ pub end: Position,
+}
+
+// range traversal iters