Lines Matching refs:sel_node_i
2028 sel_node_i = 0 # Index of selected row
2046 sel_node_i, scroll)
2055 if sel_node_i == len(matches) - 1:
2056 return sel_node_i, scroll
2058 if sel_node_i + 1 >= scroll + _height(matches_win) - _SCROLL_OFFSET \
2061 return sel_node_i + 1, scroll + 1
2063 return sel_node_i + 1, scroll
2066 if sel_node_i == 0:
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)
2152 _jump_to(matches[sel_node_i])
2166 sel_node_i, scroll)
2171 _info_dialog(matches[sel_node_i], True)
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()
2196 sel_node_i = len(matches) - 1
2200 sel_node_i = scroll = 0
2251 sel_node_i, scroll): argument
2286 if sel_node_i - scroll >= matches_win_height:
2287 return sel_node_i - matches_win_height + 1
2293 bad_re, matches, sel_node_i, scroll): argument
2319 _style["selection" if i == sel_node_i else "list"])