Lines Matching refs:start_y
515 int start_x = 0, start_y = 0; in show_scroll_win_ext() local
529 start_y = *vscroll; in show_scroll_win_ext()
566 copywin(pad, win, start_y, start_x, 2, 2, text_lines, in show_scroll_win_ext()
580 start_y += text_lines-2; in show_scroll_win_ext()
584 start_y -= text_lines+2; in show_scroll_win_ext()
587 start_y = 0; in show_scroll_win_ext()
590 start_y = total_lines-text_lines; in show_scroll_win_ext()
594 start_y++; in show_scroll_win_ext()
598 start_y--; in show_scroll_win_ext()
610 size_t start = (get_line(text, start_y) - text); in show_scroll_win_ext()
611 size_t end = (get_line(text, start_y + text_lines) - text); in show_scroll_win_ext()
623 if (start_y < 0) in show_scroll_win_ext()
624 start_y = 0; in show_scroll_win_ext()
625 if (start_y >= total_lines-text_lines) in show_scroll_win_ext()
626 start_y = total_lines-text_lines; in show_scroll_win_ext()
636 *vscroll = start_y; in show_scroll_win_ext()