Avoid grouping transactions created by different editors
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
adf00fafdf
commit
f055053fc9
5 changed files with 61 additions and 1 deletions
|
@ -1234,6 +1234,10 @@ impl Buffer {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn avoid_grouping_next_transaction(&mut self) {
|
||||
self.text.avoid_grouping_next_transaction();
|
||||
}
|
||||
|
||||
pub fn set_active_selections(
|
||||
&mut self,
|
||||
selections: Arc<[Selection<Anchor>]>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue