Start on implementing filtering support for Cursor::prev

This commit is contained in:
Antonio Scandurra 2022-03-15 13:25:54 +01:00
parent 7c6fe56347
commit 45ce503afd
5 changed files with 65 additions and 91 deletions

View file

@ -1700,7 +1700,7 @@ impl MultiBufferSnapshot {
}
pub fn text_summary(&self) -> TextSummary {
self.excerpts.summary().text
self.excerpts.summary().text.clone()
}
pub fn text_summary_for_range<'a, D, O>(&'a self, range: Range<O>) -> D