(&mut self)
| 961 | } |
| 962 | |
| 963 | pub fn scroll_down(&mut self) { |
| 964 | let max_scroll = self.max_scroll_offset(); |
| 965 | if self.scroll_offset < max_scroll { |
| 966 | self.scroll_offset += 1; |
| 967 | } |
| 968 | } |
| 969 | |
| 970 | pub fn scroll_up_by(&mut self, lines: usize) { |
| 971 | let lines = lines.max(1); |
nothing calls this directly
no test coverage detected