Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/nvi/dist/vi/
H A Dvs_split.c117 (sp->t_maxrows - new->rows) * sizeof(SMAP)); in vs_split()
125 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
126 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1; in vs_split()
141 if (sp->t_rows > sp->t_maxrows) in vs_split()
142 sp->t_rows = sp->t_maxrows; in vs_split()
143 if (sp->t_minrows > sp->t_maxrows) in vs_split()
144 sp->t_minrows = sp->t_maxrows; in vs_split()
148 if (new->t_rows > new->t_maxrows) in vs_split()
149 new->t_rows = new->t_maxrows; in vs_split()
150 if (new->t_minrows > new->t_maxrows) in vs_split()
[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.c232 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows); in vs_paint()
234 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
243 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
245 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
704 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in vs_paint()
H A Dv_scroll.c356 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pagedown()
407 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pageup()
H A Dvs_smap.c625 if (count >= sp->t_maxrows || scmd == CNTRL_F) { in vs_sm_up()
642 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up()
844 if (count >= sp->t_maxrows || scmd == CNTRL_B) { in vs_sm_down()
862 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down()
H A Dvs_msg.c443 if (vip->totalcount == sp->t_maxrows && in vs_output()
781 if (wtype == SCROLL_W_QUIT && vip->linecount < sp->t_maxrows) in vs_scroll()
H A Dv_txt.c141 vip->sv_t_maxrows = sp->t_maxrows; in txt_map_init()
151 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) { in txt_map_init()
165 sp->t_rows = sp->t_minrows = ++sp->t_maxrows; in txt_map_init()
185 sp->t_maxrows = vip->sv_t_maxrows; in txt_map_end()
192 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in txt_map_end()
H A Dvi.c1027 sp->t_maxrows = sp->rows - 1; in v_init()
1029 sp->t_maxrows = 1; in v_init()
/netbsd-src/external/bsd/nvi/dist/common/
H A Dscreen.h122 size_t t_maxrows; /* 1-N: max number of text rows. */ member