Unify visual line_mode and non line_mode operators
This commit is contained in:
parent
11569a869a
commit
e93c49f4f0
12 changed files with 141 additions and 178 deletions
|
@ -22,6 +22,13 @@ pub struct PendingSelection {
|
|||
pub mode: SelectMode,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum LineMode {
|
||||
None,
|
||||
WithNewline,
|
||||
WithoutNewline,
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct SelectionsCollection {
|
||||
display_map: ModelHandle<DisplayMap>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue