Allow retrieving a buffer's diagnostics

This commit is contained in:
Max Brunsfeld 2021-10-26 15:46:08 -07:00
parent 5bfbeb55c0
commit ef4fc42d93
5 changed files with 140 additions and 35 deletions

View file

@ -1592,6 +1592,7 @@ impl Snapshot {
}
}
#[derive(Clone)]
pub struct Content<'a> {
visible_text: &'a Rope,
deleted_text: &'a Rope,