Clone selections on editor split

This commit is contained in:
Keith Simmons 2022-05-19 11:22:53 -07:00
parent 8dd6ad3116
commit bacfed37b7
3 changed files with 43 additions and 8 deletions

View file

@ -22,6 +22,7 @@ pub struct PendingSelection {
pub mode: SelectMode,
}
#[derive(Clone)]
pub struct SelectionsCollection {
display_map: ModelHandle<DisplayMap>,
buffer: ModelHandle<MultiBuffer>,