Home
last modified time | relevance | path

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

/mirbsd/src/usr.bin/vi/vi/
Dvs_split.c105 (sp->t_maxrows - new->rows) * sizeof(SMAP));
115 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1;
116 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1;
131 if (sp->t_rows > sp->t_maxrows)
132 sp->t_rows = sp->t_maxrows;
133 if (sp->t_minrows > sp->t_maxrows)
134 sp->t_minrows = sp->t_maxrows;
138 if (new->t_rows > new->t_maxrows)
139 new->t_rows = new->t_maxrows;
140 if (new->t_minrows > new->t_maxrows)
[all …]
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)
Dvs_refresh.c248 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows);
250 for (; lcnt && sp->t_rows != sp->t_maxrows;
259 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows);
261 for (; lcnt && sp->t_rows != sp->t_maxrows;
676 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) {
Dv_scroll.c369 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
422 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
Dvs_smap.c623 if (count >= sp->t_maxrows || scmd == CNTRL_F) {
640 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) {
843 if (count >= sp->t_maxrows || scmd == CNTRL_B) {
861 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) {
Dvs_msg.c445 if (vip->totalcount == sp->t_maxrows &&
788 if (wtype == SCROLL_W_QUIT && vip->linecount < sp->t_maxrows)
Dv_txt.c138 vip->sv_t_maxrows = sp->t_maxrows;
148 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) {
162 sp->t_rows = sp->t_minrows = ++sp->t_maxrows;
183 sp->t_maxrows = vip->sv_t_maxrows;
190 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) {
Dvi.c967 sp->t_maxrows = sp->rows - 1;
969 sp->t_maxrows = 1;
/mirbsd/src/usr.bin/vi/common/
Dscreen.h58 size_t t_maxrows; /* 1-N: max number of text rows. */ member