Lines Matching refs:hscroll
1734 hscroll = max(i - edit_width() + 1, 0)
1741 _draw_input_dialog(win, title, info_lines, s, i, hscroll)
1764 s, i, hscroll = _edit_text(c, s, i, hscroll, edit_width())
1787 def _draw_input_dialog(win, title, info_lines, s, i, hscroll): argument
1793 visible_s = s[hscroll:hscroll + edit_width]
1803 _safe_move(win, 2, 2 + i - hscroll)
2026 hscroll = 0 # Horizontal scroll offset
2143 s, s_i, hscroll,
2206 s, s_i, hscroll = _edit_text(c, s, s_i, hscroll,
2292 s, s_i, hscroll, argument
2365 visible_s = s[hscroll:hscroll + edit_width]
2368 _safe_move(edit_box, 1, 1 + s_i - hscroll)
2867 def _edit_text(c, s, i, hscroll, width): argument
2934 if i < hscroll + _SCROLL_OFFSET:
2935 hscroll = max(i - _SCROLL_OFFSET, 0)
2936 elif i >= hscroll + width - _SCROLL_OFFSET:
2938 hscroll = min(i - width + _SCROLL_OFFSET + 1, max_scroll)
2940 return s, i, hscroll