Lines Matching refs:old_pos
495 pos_T old_pos; // cursor position before command in normal_cmd() local
1075 old_pos = curwin->w_cursor; // remember where cursor was in normal_cmd()
1144 && old_pos.lnum == curwin->w_cursor.lnum in normal_cmd()
1145 && old_pos.col == curwin->w_cursor.col) in normal_cmd()
2386 pos_T old_pos; in find_decl() local
2404 old_pos = curwin->w_cursor; in find_decl()
2435 if (curwin->w_cursor.lnum >= old_pos.lnum) in find_decl()
2445 (int)(old_pos.lnum - curwin->w_cursor.lnum + 1))) != NULL in find_decl()
2446 && pos->lnum < old_pos.lnum) in find_decl()
2508 curwin->w_cursor = old_pos; in find_decl()
4490 pos_T old_pos; // cursor position before command in nv_brackets() local
4498 old_pos = curwin->w_cursor; in nv_brackets()
4595 curwin->w_cursor = old_pos; in nv_brackets()
4661 curwin->w_cursor = old_pos; in nv_brackets()
7113 pos_T old_pos = curwin->w_cursor; in nv_edit() local
7132 if (*ml_get_cursor() != NUL && LT_POS(curwin->w_cursor, old_pos) in nv_edit()