Searched refs:so_ptr (Results 1 – 2 of 2) sorted by relevance
192 long *so_ptr = curwin->w_p_so >= 0 ? &curwin->w_p_so : &p_so; in update_topline() local193 int save_so = *so_ptr; in update_topline()212 *so_ptr = mouse_dragging - 1; in update_topline()269 lnum < curwin->w_topline + *so_ptr; ++lnum) in update_topline()280 n = curwin->w_topline + *so_ptr - curwin->w_cursor.lnum; in update_topline()322 >= (long)curwin->w_botline - *so_ptr in update_topline()351 if (n >= *so_ptr) in update_topline()355 if (n >= *so_ptr) in update_topline()373 lnum >= curwin->w_botline - *so_ptr; --lnum) in update_topline()385 + 1 + *so_ptr; in update_topline()[all …]
2522 long *so_ptr = curwin->w_p_so >= 0 ? &curwin->w_p_so : &p_so; in do_ecmd() local3186 n = *so_ptr; in do_ecmd()3188 *so_ptr = 9999; // force cursor halfway the window in do_ecmd()3191 *so_ptr = n; in do_ecmd()