Home
last modified time | relevance | path

Searched refs:t_maxrows (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/nvi/vi/
H A Dvs_split.c136 if (sp->t_rows > sp->t_maxrows) in vs_split()
137 sp->t_rows = sp->t_maxrows; in vs_split()
139 sp->t_minrows = sp->t_maxrows; in vs_split()
144 new->t_rows = new->t_maxrows; in vs_split()
256 new->t_maxrows = sp->t_maxrows; in vs_vsplit()
751 nsp->t_rows = nsp->t_maxrows; in vs_swap()
815 if (sp->t_maxrows == count) in vs_resize()
817 if (sp->t_maxrows > count) { in vs_resize()
893 g->t_maxrows += count; in vs_resize()
898 s->t_maxrows -= count; in vs_resize()
[all …]
H A Dvi.h332 ((sp)->t_maxrows < (sp)->rows ? (sp)->t_maxrows : (sp)->rows - 1)
338 #define IS_SMALL(sp) ((sp)->t_minrows != (sp)->t_maxrows)
344 ((sp)->t_maxrows == 1 ? 1 : (sp)->t_maxrows / 2)
H A Dvs_refresh.c249 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows); in vs_paint()
251 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
260 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
262 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
675 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in vs_paint()
H A Dv_scroll.c350 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pagedown()
401 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pageup()
H A Dvs_smap.c619 if (count >= sp->t_maxrows || scmd == CNTRL_F) { in vs_sm_up()
636 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up()
838 if (count >= sp->t_maxrows || scmd == CNTRL_B) { in vs_sm_down()
856 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down()
H A Dvs_msg.c435 if (vip->totalcount == sp->t_maxrows && in vs_output()
766 if (wtype == SCROLL_W_QUIT && vip->linecount < sp->t_maxrows) in vs_scroll()
H A Dv_txt.c134 vip->sv_t_maxrows = sp->t_maxrows; in txt_map_init()
144 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) { in txt_map_init()
158 sp->t_rows = sp->t_minrows = ++sp->t_maxrows; in txt_map_init()
178 sp->t_maxrows = vip->sv_t_maxrows; in txt_map_end()
185 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in txt_map_end()
H A Dvi.c967 sp->t_maxrows = sp->rows - 1; in v_init()
969 sp->t_maxrows = 1; in v_init()
/freebsd-12.1/contrib/nvi/common/
H A Dscreen.h56 size_t t_maxrows; /* 1-N: max number of text rows. */ member