Searched refs:old_cursor (Results 1 – 8 of 8) sorted by relevance
1377 pos_T old_cursor; // old cursor position in open_line() local1505 old_cursor = curwin->w_cursor; in open_line()1630 curwin->w_cursor = old_cursor; in open_line()2025 old_cursor = curwin->w_cursor; in open_line()2032 curwin->w_cursor = old_cursor; in open_line()2096 old_cursor = curwin->w_cursor; in open_line()2099 if (!(State & VREPLACE_FLAG) || old_cursor.lnum >= orig_line_count) in open_line()2190 curwin->w_cursor = old_cursor; in open_line()2221 curwin->w_cursor.lnum = old_cursor.lnum + 1; in open_line()
5180 pos_T old_cursor; in v_swap_corners() local5185 old_cursor = curwin->w_cursor; in v_swap_corners()5186 getvcols(curwin, &old_cursor, &VIsual, &left, &right); in v_swap_corners()5191 curwin->w_cursor.lnum = old_cursor.lnum; in v_swap_corners()5195 if (old_cursor.lnum >= VIsual.lnum && *p_sel == 'e') in v_swap_corners()5198 if (curwin->w_cursor.col == old_cursor.col in v_swap_corners()5200 || curwin->w_cursor.coladd == old_cursor.coladd)) in v_swap_corners()5208 curwin->w_cursor.lnum = old_cursor.lnum; in v_swap_corners()5215 old_cursor = curwin->w_cursor; in v_swap_corners()5217 VIsual = old_cursor; in v_swap_corners()[all …]
1514 pos_T old_cursor; in jump_to_mouse() local1613 old_cursor = curwin->w_cursor; in jump_to_mouse()1965 VIsual = old_cursor; in jump_to_mouse()1987 if (curwin != old_curwin || curwin->w_cursor.lnum != old_cursor.lnum in jump_to_mouse()1988 || curwin->w_cursor.col != old_cursor.col) in jump_to_mouse()
2012 pos_T old_cursor; in clip_get_selection() local2035 old_cursor = curwin->w_cursor; in clip_get_selection()2055 curwin->w_cursor = old_cursor; in clip_get_selection()
4444 pos_T old_cursor; in gui_do_scroll() local4469 old_cursor = wp->w_cursor; in gui_do_scroll()4493 if (old_cursor.lnum != wp->w_cursor.lnum) in gui_do_scroll()4536 return (wp == curwin && !EQUAL_POS(curwin->w_cursor, old_cursor)); in gui_do_scroll()
4333 pos_T old_cursor; in buf_reload() local4350 old_cursor = curwin->w_cursor; in buf_reload()4448 curwin->w_cursor = old_cursor; in buf_reload()
3465 pos_T old_cursor; in do_pending_operator() local3494 old_cursor = curwin->w_cursor; in do_pending_operator()4199 curwin->w_cursor = old_cursor; in do_pending_operator()
3705 pos_T old_cursor = curwin->w_cursor; in ex_substitute() local4744 curwin->w_cursor = old_cursor; in ex_substitute()