Lines Matching refs:nrows
275 teken_subr_cursor_down(teken_t *t, unsigned int nrows)
278 if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end)
281 t->t_cursor.tp_row += nrows;
363 teken_subr_cursor_up(teken_t *t, unsigned int nrows)
366 if (t->t_scrollreg.ts_begin + nrows >= t->t_cursor.tp_row)
369 t->t_cursor.tp_row -= nrows;
417 teken_subr_delete_line(const teken_t *t, unsigned int nrows)
430 if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end) {
436 tr.tr_begin.tp_row = t->t_cursor.tp_row + nrows;
441 tr.tr_begin.tp_row = t->t_scrollreg.ts_end - nrows;
671 teken_subr_insert_line(const teken_t *t, unsigned int nrows)
684 if (t->t_cursor.tp_row + nrows >= t->t_scrollreg.ts_end) {
690 tr.tr_end.tp_row = t->t_scrollreg.ts_end - nrows;
691 tp.tp_row = t->t_cursor.tp_row + nrows;
695 tr.tr_end.tp_row = t->t_cursor.tp_row + nrows;
772 teken_subr_pan_down(const teken_t *t, unsigned int nrows)
775 teken_subr_do_scroll(t, (int)nrows);
779 teken_subr_pan_up(const teken_t *t, unsigned int nrows)
782 teken_subr_do_scroll(t, -(int)nrows);