Render a "Jump to Buffer" icon on all excerpt headers

This commit is contained in:
Antonio Scandurra 2022-06-08 15:31:29 +02:00
parent c2eaf6128e
commit 712d47d94f
7 changed files with 86 additions and 74 deletions

View file

@ -1980,8 +1980,8 @@ impl BufferSnapshot {
self.selections_update_count
}
pub fn file(&self) -> Option<&Arc<dyn File>> {
self.file.as_ref()
pub fn file(&self) -> Option<&dyn File> {
self.file.as_deref()
}
pub fn file_update_count(&self) -> usize {