Lines Matching refs:boff
1959 lineoff_T boff; in scroll_cursor_bot() local
2029 if (!hasFolding(curwin->w_cursor.lnum, &loff.lnum, &boff.lnum)) in scroll_cursor_bot()
2033 boff.lnum = cln; in scroll_cursor_bot()
2037 boff.fill = 0; in scroll_cursor_bot()
2048 || boff.lnum + 1 > curbuf->b_ml.ml_line_count) in scroll_cursor_bot()
2082 if (boff.lnum < curbuf->b_ml.ml_line_count) in scroll_cursor_bot()
2085 botline_forw(&boff); in scroll_cursor_bot()
2086 used += boff.height; in scroll_cursor_bot()
2092 extra += boff.height; in scroll_cursor_bot()
2093 if (boff.lnum >= curwin->w_botline in scroll_cursor_bot()
2095 || (boff.lnum + 1 == curwin->w_botline in scroll_cursor_bot()
2096 && boff.fill > curwin->w_filler_rows) in scroll_cursor_bot()
2101 scrolled += boff.height; in scroll_cursor_bot()
2102 if (boff.lnum == curwin->w_botline in scroll_cursor_bot()
2104 && boff.fill == 0 in scroll_cursor_bot()
2124 boff.fill = curwin->w_topfill; in scroll_cursor_bot()
2126 boff.lnum = curwin->w_topline - 1; in scroll_cursor_bot()
2127 for (i = 0; i < scrolled && boff.lnum < curwin->w_botline; ) in scroll_cursor_bot()
2129 botline_forw(&boff); in scroll_cursor_bot()
2130 i += boff.height; in scroll_cursor_bot()
2175 lineoff_T boff; in scroll_cursor_halfway() local
2184 loff.lnum = boff.lnum = curwin->w_cursor.lnum; in scroll_cursor_halfway()
2186 (void)hasFolding(loff.lnum, &loff.lnum, &boff.lnum); in scroll_cursor_halfway()
2191 boff.fill = 0; in scroll_cursor_halfway()
2200 if (boff.lnum < curbuf->b_ml.ml_line_count) in scroll_cursor_halfway()
2202 botline_forw(&boff); in scroll_cursor_halfway()
2203 used += boff.height; in scroll_cursor_halfway()
2206 below += boff.height; in scroll_cursor_halfway()