parent
f291677d40
commit
0d5de88c4b
22 changed files with 43 additions and 67 deletions
|
@ -44,7 +44,7 @@ impl SelectionsCollection {
|
|||
buffer,
|
||||
next_selection_id: 1,
|
||||
line_mode: false,
|
||||
disjoint: Arc::from([]),
|
||||
disjoint: Arc::default(),
|
||||
pending: Some(PendingSelection {
|
||||
selection: Selection {
|
||||
id: 0,
|
||||
|
@ -398,7 +398,7 @@ impl<'a> MutableSelectionsCollection<'a> {
|
|||
}
|
||||
|
||||
pub fn clear_disjoint(&mut self) {
|
||||
self.collection.disjoint = Arc::from([]);
|
||||
self.collection.disjoint = Arc::default();
|
||||
}
|
||||
|
||||
pub fn delete(&mut self, selection_id: usize) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue