From 240e5f4e3d27415b792776dd126d15302d53e83b Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 20 May 2020 18:14:51 +0900 Subject: Initial import. --- helix-core/src/range.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 helix-core/src/range.rs (limited to 'helix-core/src/range.rs') 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 -- cgit v1.2.3-70-g09d2