Searched refs:above_wanted (Results 1 – 1 of 1) sorted by relevance
2259 int above_wanted, below_wanted; in cursor_correct() local2268 above_wanted = so; in cursor_correct()2272 above_wanted = mouse_dragging - 1; in cursor_correct()2277 above_wanted = 0; in cursor_correct()2288 if (above_wanted > max_off) in cursor_correct()2289 above_wanted = max_off; in cursor_correct()2297 if (cln >= curwin->w_topline + above_wanted 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()