Lines Matching refs:above
2167 int above = 0; in scroll_cursor_halfway() local
2198 if (below <= above) // add a line below the cursor first in scroll_cursor_halfway()
2216 if (below > above) // add a line above the cursor in scroll_cursor_halfway()
2225 above += loff.height; in scroll_cursor_halfway()
2255 int above = 0; // screen lines above topline in cursor_correct() local
2315 above = curwin->w_topfill; in cursor_correct()
2318 while ((above < above_wanted || below < below_wanted) && topline < botline) in cursor_correct()
2320 if (below < below_wanted && (below <= above || above >= above_wanted)) in cursor_correct()
2330 if (above < above_wanted && (above < below || below >= below_wanted)) in cursor_correct()
2334 ++above; in cursor_correct()
2337 above += PLINES_NOFILL(topline); in cursor_correct()
2341 above += diff_check_fill(curwin, topline + 1); in cursor_correct()