Lines Matching refs:so
442 long so = get_scrolloff_value(); in check_top_offset() local
444 if (curwin->w_cursor.lnum < curwin->w_topline + so in check_top_offset()
458 while (n < so) in check_top_offset()
470 if (n < so) in check_top_offset()
958 long so = get_scrolloff_value(); in curs_columns() local
1105 || curwin->w_wrow + so >= curwin->w_height) in curs_columns()
1126 if (curwin->w_skipcol + so * width > curwin->w_virtcol) in curs_columns()
1133 if (p_lines > curwin->w_wrow + so) in curs_columns()
1134 n = curwin->w_wrow + so; in curs_columns()
1137 if ((colnr_T)n >= curwin->w_height + curwin->w_skipcol / width - so) in curs_columns()
1140 if (extra == 3 || p_lines <= so * 2) in curs_columns()
1156 extra = (curwin->w_skipcol + so * width - curwin->w_virtcol in curs_columns()
1968 long so = get_scrolloff_value(); in scroll_cursor_bot() local
2047 && extra >= (mouse_dragging > 0 ? mouse_dragging - 1 : so)) in scroll_cursor_bot()
2089 if (extra < ( mouse_dragging > 0 ? mouse_dragging - 1 : so) in scroll_cursor_bot()
2262 long so = get_scrolloff_value(); in cursor_correct() local
2268 above_wanted = so; in cursor_correct()
2269 below_wanted = so; in cursor_correct()
2382 long so = get_scrolloff_value(); in onepage() local
2400 ? ((curwin->w_topline >= curbuf->b_ml.ml_line_count - so) in onepage()