Lines Matching refs:w_height

103 	if (done + n > wp->w_height)  in comp_botline()
197 if (!screen_valid(TRUE) || curwin->w_height == 0) in update_topline()
257 halfheight = curwin->w_height / 2 - 1; in update_topline()
377 if (lnum <= 0 || line_count > curwin->w_height + 1) in update_topline()
386 if (line_count <= curwin->w_height + 1) in update_topline()
430 return (curwin->w_height * -p_sj) / 100; in scrolljump_value()
1004 curwin->w_wrow = curwin->w_height - 1; in curs_columns()
1006 curwin->w_wrow = curwin->w_height - 1 - curwin->w_empty_rows; in curs_columns()
1103 if ((curwin->w_wrow >= curwin->w_height in curs_columns()
1105 || curwin->w_wrow + so >= curwin->w_height) in curs_columns()
1113 - 1 >= curwin->w_height)) in curs_columns()
1114 && curwin->w_height != 0 in curs_columns()
1137 if ((colnr_T)n >= curwin->w_height + curwin->w_skipcol / width - so) in curs_columns()
1144 if (n > curwin->w_height / 2) in curs_columns()
1145 n -= curwin->w_height / 2; in curs_columns()
1149 if (n > p_lines - curwin->w_height + 1) in curs_columns()
1150 n = p_lines - curwin->w_height + 1; in curs_columns()
1168 endcol = (n - curwin->w_height + 1) * width; in curs_columns()
1176 if (curwin->w_wrow >= curwin->w_height) in curs_columns()
1179 extra = curwin->w_wrow - curwin->w_height + 1; in curs_columns()
1264 if (col >= 0 && row + rowoff <= wp->w_height) in textpos2screenpos()
1339 && curwin->w_topfill < curwin->w_height - 1) in scrolldown()
1391 while (wrow >= curwin->w_height && curwin->w_cursor.lnum > 1) in scrolldown()
1514 if (wp->w_topfill + n > wp->w_height) in check_topfill()
1523 wp->w_topfill = wp->w_height - n; in check_topfill()
1541 if (n >= curwin->w_height) in max_topfill()
1546 if (curwin->w_topfill + n > curwin->w_height) in max_topfill()
1547 curwin->w_topfill = curwin->w_height - n; in max_topfill()
1595 if (end_row < curwin->w_height - get_scrolloff_value()) in scrolldown_clamp()
1856 if (used > curwin->w_height) in scroll_cursor_top()
1879 if (used > curwin->w_height) in scroll_cursor_top()
1926 wp->w_empty_rows = wp->w_height - used; in set_empty_rows()
1984 if (loff.height == MAXCOL || used + loff.height > curwin->w_height) in scroll_cursor_bot()
2063 if (used > curwin->w_height) in scroll_cursor_bot()
2087 if (used > curwin->w_height) in scroll_cursor_bot()
2117 else if (used > curwin->w_height) in scroll_cursor_bot()
2141 if (line_count >= curwin->w_height && line_count > min_scroll) in scroll_cursor_bot()
2204 if (used > curwin->w_height) in scroll_cursor_halfway()
2223 if (used > curwin->w_height) in scroll_cursor_halfway()
2238 if (old_topline > curwin->w_topline + curwin->w_height) in scroll_cursor_halfway()
2278 max_off = curwin->w_height / 2; in cursor_correct()
2287 max_off = (curwin->w_height - 1) / 2; in cursor_correct()
2510 while (n <= curwin->w_height && loff.lnum >= 1) in onepage()
2635 int min_height = curwin->w_height - 2; in get_scroll_overlap()
2698 curwin->w_p_scr = (Prenum > curwin->w_height) ? in halfpage()
2699 curwin->w_height : Prenum; in halfpage()
2700 n = (curwin->w_p_scr <= curwin->w_height) ? in halfpage()
2701 curwin->w_p_scr : curwin->w_height; in halfpage()