Fix infinite loop in select all matches
This commit is contained in:
@@ -100,6 +100,10 @@ impl Selection<usize> {
|
||||
reversed: false,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn equals(&self, offset_range: &Range<usize>) -> bool {
|
||||
self.start == offset_range.start && self.end == offset_range.end
|
||||
}
|
||||
}
|
||||
|
||||
impl Selection<Anchor> {
|
||||
|
||||
Reference in New Issue
Block a user