Implement cancel for buffer

This commit is contained in:
Antonio Scandurra
2021-05-11 12:35:27 +02:00
parent 0baff0c61d
commit 143c50f321
3 changed files with 60 additions and 17 deletions
+1
View File
@@ -21,6 +21,7 @@ pub enum SelectionGoal {
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Selection {
pub id: usize,
pub start: Anchor,
pub end: Anchor,
pub reversed: bool,