diff options
author | Canop <cano.petrole@gmail.com> | 2021-10-13 15:04:44 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-10-13 15:04:44 +0200 |
commit | f0f8d73a0ddc4a90b275595738670b6298125ff6 (patch) | |
tree | 824f5a45f9a1629c0feca05e0dce4f59ee97df59 /src/browser | |
parent | 6c6d1a9b549431b945e1dc12289e1fb23cf36002 (diff) |
better make the selection visible
Diffstat (limited to 'src/browser')
-rw-r--r-- | src/browser/browser_state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index 34a19c5..6112e46 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -356,19 +356,19 @@ impl PanelState for BrowserState { CmdResult::Keep } Internal::previous_match => { - self.displayed_tree_mut().try_select_previous_match(); + self.displayed_tree_mut().try_select_previous_match(page_height); CmdResult::Keep } Internal::next_match => { - self.displayed_tree_mut().try_select_next_match(); + self.displayed_tree_mut().try_select_next_match(page_height); CmdResult::Keep } Internal::previous_same_depth => { - self.displayed_tree_mut().try_select_previous_same_depth(); + self.displayed_tree_mut().try_select_previous_same_depth(page_height); CmdResult::Keep } Internal::next_same_depth => { - self.displayed_tree_mut().try_select_next_same_depth(); + self.displayed_tree_mut().try_select_next_same_depth(page_height); CmdResult::Keep } Internal::page_down => { |