Render a "Jump to Buffer" icon on all excerpt headers
This commit is contained in:
parent
c2eaf6128e
commit
712d47d94f
7 changed files with 86 additions and 74 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue