Only preserve excerpts for invalid diagnostics if they contain cursors
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
dcf26acaac
commit
304afc1813
@@ -3116,6 +3116,10 @@ impl Editor {
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn local_anchor_selections(&self) -> &Arc<[Selection<Anchor>]> {
|
||||
&self.selections
|
||||
}
|
||||
|
||||
fn resolve_selections<'a, D, I>(
|
||||
&self,
|
||||
selections: I,
|
||||
|
||||
Reference in New Issue
Block a user