diff options
Diffstat (limited to 'helix-view/src/view.rs')
-rw-r--r-- | helix-view/src/view.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs index 8bf3611f..e74e0f65 100644 --- a/helix-view/src/view.rs +++ b/helix-view/src/view.rs @@ -58,6 +58,10 @@ impl JumpList { pub fn remove(&mut self, doc_id: &DocumentId) { self.jumps.retain(|(other_id, _)| other_id != doc_id); } + + pub fn get(&self) -> &[Jump] { + &self.jumps + } } pub struct View { |