Lines Matching refs:scroll
1871 scroll = 0
1888 sel_node_i, scroll)
1897 nonlocal scroll
1902 if sel_node_i >= scroll + matches_win.getmaxyx()[0] - _SCROLL_OFFSET \
1903 and scroll < _max_scroll(matches, matches_win):
1905 scroll += 1
1909 nonlocal scroll
1914 if sel_node_i <= scroll + _SCROLL_OFFSET:
1915 scroll = max(scroll - 1, 0)
1982 sel_node_i = scroll = 0
1986 bad_re, matches, sel_node_i, scroll)
2006 scroll = _resize_jump_to_dialog(
2008 sel_node_i, scroll)
2016 scroll = _resize_jump_to_dialog(
2018 sel_node_i, scroll)
2039 scroll = _max_scroll(matches, matches_win)
2042 sel_node_i = scroll = 0
2089 sel_node_i, scroll): argument
2124 if sel_node_i - scroll >= matches_win_height:
2126 return scroll
2130 bad_re, matches, sel_node_i, scroll): argument
2142 for i in range(scroll,
2143 min(scroll + matches_win.getmaxyx()[0], len(matches))):
2156 _safe_addstr(matches_win, i - scroll, 0, node_str,
2173 if scroll < _max_scroll(matches, matches_win):
2201 if scroll > 0:
2242 scroll = 0
2245 _draw_info_dialog(node, lines, scroll, top_line_win, text_win,
2256 if scroll < _max_scroll(lines, text_win):
2257 scroll += 1
2260 scroll = min(scroll + _PG_JUMP, _max_scroll(lines, text_win))
2263 scroll = max(scroll - _PG_JUMP, 0)
2266 scroll = _max_scroll(lines, text_win)
2269 scroll = 0
2272 if scroll > 0:
2273 scroll -= 1
2324 def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, argument
2338 for i, line in enumerate(lines[scroll:scroll + text_win_height]):
2351 if scroll < _max_scroll(lines, text_win):
2378 if scroll > 0: