Wait for version before returning completions
This commit is contained in:
parent
e824a6f220
commit
50a31721eb
4 changed files with 34 additions and 14 deletions
|
@ -1283,6 +1283,10 @@ impl Buffer {
|
|||
self.text.wait_for_edits(edit_ids)
|
||||
}
|
||||
|
||||
pub fn wait_for_version(&mut self, version: clock::Global) -> impl Future<Output = ()> {
|
||||
self.text.wait_for_version(version)
|
||||
}
|
||||
|
||||
pub fn set_active_selections(
|
||||
&mut self,
|
||||
selections: Arc<[Selection<Anchor>]>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue