Implement Outline::search

This commit is contained in:
Antonio Scandurra 2022-01-13 15:10:29 +01:00
parent 5e64f1aca8
commit 06ba1c64cf
3 changed files with 71 additions and 2 deletions

View file

@ -1917,7 +1917,7 @@ impl BufferSnapshot {
})
.collect::<Vec<_>>();
Some(Outline(items))
Some(Outline::new(items))
}
pub fn enclosing_bracket_ranges<T: ToOffset>(