diff --git a/src/app/browser/window/tab/item/page/search/form/navigation.rs b/src/app/browser/window/tab/item/page/search/form/navigation.rs index ef4835df..3721b247 100644 --- a/src/app/browser/window/tab/item/page/search/form/navigation.rs +++ b/src/app/browser/window/tab/item/page/search/form/navigation.rs @@ -60,10 +60,8 @@ impl Navigation { self.model.replace(Model::new(matches)); } - /// Navigate back in matches, apply tags to buffer + /// Navigate back in matches, apply tags to the buffer /// * return `start`/`end` iters to scroll up the widget - /// * user should not activate this function on empty results - /// expected all actions / buttons deactivated in this case pub fn back(&self, subject: &Subject) -> Option<(TextIter, TextIter)> { let buffer = subject.text_view.buffer(); @@ -86,10 +84,8 @@ impl Navigation { } } - /// Navigate forward in matches, apply tags to buffer + /// Navigate forward in matches, apply tags to the buffer /// * return `start`/`end` iters to scroll down the widget - /// * user should not activate this function on empty results - /// expected all actions / buttons deactivated in this case pub fn forward(&self, subject: &Subject) -> Option<(TextIter, TextIter)> { let buffer = subject.text_view.buffer();