Notify Highlighter of topmost line change
This commit is contained in:
parent
23d00445ff
commit
2897986f2d
3 changed files with 61 additions and 31 deletions
|
|
@ -47,13 +47,18 @@ pub enum Action {
|
|||
Select(Motion),
|
||||
SelectWord,
|
||||
SelectLine,
|
||||
Edit(Edit),
|
||||
Click(Point),
|
||||
Drag(Point),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Edit {
|
||||
Insert(char),
|
||||
Paste(Arc<String>),
|
||||
Enter,
|
||||
Backspace,
|
||||
Delete,
|
||||
Click(Point),
|
||||
Drag(Point),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue