mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 01:00:02 +00:00
update comments
This commit is contained in:
parent
d8a4e42f3c
commit
a25c171e0e
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user