Lines Matching refs:scroll
2026 scroll = 0 # Index in 'matches' of the top row of the list
2043 sel_node_i, scroll)
2053 return sel_node_i, scroll
2055 if sel_node_i + 1 >= scroll + _height(matches_win) - _SCROLL_OFFSET \
2056 and scroll < _max_scroll(matches, matches_win):
2058 return sel_node_i + 1, scroll + 1
2060 return sel_node_i + 1, scroll
2064 return sel_node_i, scroll
2066 if sel_node_i - 1 < scroll + _SCROLL_OFFSET:
2067 return sel_node_i - 1, max(scroll - 1, 0)
2069 return sel_node_i - 1, scroll
2137 sel_node_i = scroll = 0
2141 bad_re, matches, sel_node_i, scroll)
2161 scroll = _resize_jump_to_dialog(
2163 sel_node_i, scroll)
2171 scroll = _resize_jump_to_dialog(
2173 sel_node_i, scroll)
2176 sel_node_i, scroll = select_next_match()
2179 sel_node_i, scroll = select_prev_match()
2185 sel_node_i, scroll = select_next_match()
2190 sel_node_i, scroll = select_prev_match()
2194 scroll = _max_scroll(matches, matches_win)
2197 sel_node_i = scroll = 0
2245 sel_node_i, scroll): argument
2280 if sel_node_i - scroll >= matches_win_height:
2282 return scroll
2287 bad_re, matches, sel_node_i, scroll): argument
2298 for i in range(scroll,
2299 min(scroll + _height(matches_win), len(matches))):
2312 _safe_addstr(matches_win, i - scroll, 0, node_str,
2328 if scroll < _max_scroll(matches, matches_win):
2354 if scroll > 0:
2396 scroll = 0
2399 _draw_info_dialog(node, lines, scroll, top_line_win, text_win,
2410 if scroll < _max_scroll(lines, text_win):
2411 scroll += 1
2414 scroll = min(scroll + _PG_JUMP, _max_scroll(lines, text_win))
2417 scroll = max(scroll - _PG_JUMP, 0)
2420 scroll = _max_scroll(lines, text_win)
2423 scroll = 0
2426 if scroll > 0:
2427 scroll -= 1
2478 def _draw_info_dialog(node, lines, scroll, top_line_win, text_win, argument
2491 for i, line in enumerate(lines[scroll:scroll + text_win_height]):
2503 if scroll < _max_scroll(lines, text_win):
2528 if scroll > 0: