mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update comments
This commit is contained in:
parent
d8a4e42f3c
commit
a25c171e0e
1 changed files with 2 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue