Home
last modified time | relevance | path

Searched refs:old_cursor (Results 1 – 8 of 8) sorted by relevance

/vim-8.2.3635/src/
H A Dchange.c1377 pos_T old_cursor; // old cursor position in open_line() local
1505 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()
H A Dnormal.c5180 pos_T old_cursor; in v_swap_corners() local
5185 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 …]
H A Dmouse.c1514 pos_T old_cursor; in jump_to_mouse() local
1613 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()
H A Dclipboard.c2012 pos_T old_cursor; in clip_get_selection() local
2035 old_cursor = curwin->w_cursor; in clip_get_selection()
2055 curwin->w_cursor = old_cursor; in clip_get_selection()
H A Dgui.c4444 pos_T old_cursor; in gui_do_scroll() local
4469 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()
H A Dfileio.c4333 pos_T old_cursor; in buf_reload() local
4350 old_cursor = curwin->w_cursor; in buf_reload()
4448 curwin->w_cursor = old_cursor; in buf_reload()
H A Dops.c3465 pos_T old_cursor; in do_pending_operator() local
3494 old_cursor = curwin->w_cursor; in do_pending_operator()
4199 curwin->w_cursor = old_cursor; in do_pending_operator()
H A Dex_cmds.c3705 pos_T old_cursor = curwin->w_cursor; in ex_substitute() local
4744 curwin->w_cursor = old_cursor; in ex_substitute()