Lines Matching refs:scroll

2029     scroll = 0  # Index in 'matches' of the top row of the list
2046 sel_node_i, scroll)
2056 return sel_node_i, scroll
2058 if sel_node_i + 1 >= scroll + _height(matches_win) - _SCROLL_OFFSET \
2059 and scroll < _max_scroll(matches, matches_win):
2061 return sel_node_i + 1, scroll + 1
2063 return sel_node_i + 1, scroll
2067 return sel_node_i, scroll
2069 if sel_node_i - 1 < scroll + _SCROLL_OFFSET:
2070 return sel_node_i - 1, max(scroll - 1, 0)
2072 return sel_node_i - 1, scroll
2140 sel_node_i = scroll = 0
2144 bad_re, matches, sel_node_i, scroll)
2164 scroll = _resize_jump_to_dialog(
2166 sel_node_i, scroll)
2174 scroll = _resize_jump_to_dialog(
2176 sel_node_i, scroll)
2179 sel_node_i, scroll = select_next_match()
2182 sel_node_i, scroll = select_prev_match()
2188 sel_node_i, scroll = select_next_match()
2193 sel_node_i, scroll = select_prev_match()
2197 scroll = _max_scroll(matches, matches_win)
2200 sel_node_i = scroll = 0
2251 sel_node_i, scroll): argument
2286 if sel_node_i - scroll >= matches_win_height:
2288 return scroll
2293 bad_re, matches, sel_node_i, scroll): argument
2304 for i in range(scroll,
2305 min(scroll + _height(matches_win), len(matches))):
2318 _safe_addstr(matches_win, i - scroll, 0, node_str,
2334 if scroll < _max_scroll(matches, matches_win):
2360 if scroll > 0:
2402 scroll = 0
2405 _draw_info_dialog(node, lines, scroll, top_line_win, text_win,
2416 if scroll < _max_scroll(lines, text_win):
2417 scroll += 1
2420 scroll = min(scroll + _PG_JUMP, _max_scroll(lines, text_win))
2423 scroll = max(scroll - _PG_JUMP, 0)
2426 scroll = _max_scroll(lines, text_win)
2429 scroll = 0
2432 if scroll > 0:
2433 scroll -= 1
2484 def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, argument
2497 for i, line in enumerate(lines[scroll:scroll + text_win_height]):
2509 if scroll < _max_scroll(lines, text_win):
2534 if scroll > 0: