Home
last modified time | relevance | path

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

/freebsd/contrib/nvi/vi/
H A Dvs_split.c108 (sp->t_maxrows - new->rows) * sizeof(SMAP)); in vs_split()
116 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
117 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
132 if (sp->t_rows > sp->t_maxrows) in vs_split()
133 sp->t_rows = sp->t_maxrows; in vs_split()
134 if (sp->t_minrows > sp->t_maxrows) in vs_split()
135 sp->t_minrows = sp->t_maxrows; in vs_split()
139 if (new->t_rows > new->t_maxrows) in vs_split()
140 new->t_rows = new->t_maxrows; in vs_split()
141 if (new->t_minrows > new->t_maxrows) in vs_split()
[all …]
H A Dvi.h330 ((sp)->t_maxrows < (sp)->rows ? (sp)->t_maxrows : (sp)->rows - 1)
336 #define IS_SMALL(sp) ((sp)->t_minrows != (sp)->t_maxrows)
342 ((sp)->t_maxrows == 1 ? 1 : (sp)->t_maxrows / 2)
H A Dvs_refresh.c246 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows); in vs_paint()
248 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
257 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
259 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.c346 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pagedown()
397 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pageup()
H A Dvs_smap.c615 if (count >= sp->t_maxrows || scmd == CNTRL_F) { in vs_sm_up()
632 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up()
834 if (count >= sp->t_maxrows || scmd == CNTRL_B) { in vs_sm_down()
852 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down()
H A Dvs_msg.c434 if (vip->totalcount == sp->t_maxrows && in vs_output()
765 if (wtype == SCROLL_W_QUIT && vip->linecount < sp->t_maxrows) in vs_scroll()
H A Dv_txt.c130 vip->sv_t_maxrows = sp->t_maxrows; in txt_map_init()
140 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) { in txt_map_init()
154 sp->t_rows = sp->t_minrows = ++sp->t_maxrows; in txt_map_init()
174 sp->t_maxrows = vip->sv_t_maxrows; in txt_map_end()
181 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in txt_map_end()
H A Dvi.c963 sp->t_maxrows = sp->rows - 1; in v_init()
965 sp->t_maxrows = 1; in v_init()
/freebsd/contrib/nvi/common/
H A Dscreen.h54 size_t t_maxrows; /* 1-N: max number of text rows. */ member