Lines Matching refs:w_cursor

518 	prev_line = curwin->w_cursor.lnum;  in do_exmode()
528 if ((prev_line != curwin->w_cursor.lnum in do_exmode()
544 print_line_no_prefix(curwin->w_cursor.lnum, FALSE, FALSE); in do_exmode()
2011 curwin->w_cursor.lnum = 1; in do_one_cmd()
2013 curwin->w_cursor.lnum = ea.line2; in do_one_cmd()
2650 if (curwin->w_cursor.lnum == 0) // can happen with zero line number in do_one_cmd()
2652 curwin->w_cursor.lnum = 1; in do_one_cmd()
2653 curwin->w_cursor.col = 0; in do_one_cmd()
2805 && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count) in parse_command_modifiers()
3334 curwin->w_cursor.lnum = eap->line2; in parse_cmd_address()
4013 if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count) in default_address()
4016 lnum = curwin->w_cursor.lnum; in default_address()
4094 lnum = curwin->w_cursor.lnum; in get_address()
4205 lnum = curwin->w_cursor.lnum; in get_address()
4237 pos = curwin->w_cursor; // save curwin->w_cursor in get_address()
4242 curwin->w_cursor.lnum = in get_address()
4252 if (c == '/' && curwin->w_cursor.lnum > 0) in get_address()
4253 curwin->w_cursor.col = MAXCOL; in get_address()
4255 curwin->w_cursor.col = 0; in get_address()
4260 curwin->w_cursor = pos; in get_address()
4264 lnum = curwin->w_cursor.lnum; in get_address()
4265 curwin->w_cursor = pos; in get_address()
4299 pos.lnum = curwin->w_cursor.lnum; in get_address()
4341 lnum = curwin->w_cursor.lnum; in get_address()
6266 curwin->w_cursor.lnum = eap->line2; in ex_print()
6827 curwin->w_cursor.lnum = eap->line2; in ex_open()
6841 curwin->w_cursor.col = (colnr_T)(regmatch.startp[0] - p); in ex_open()
7101 linenr_T old_linenr = curwin->w_cursor.lnum; in ex_syncbind()
7154 if (old_linenr != curwin->w_cursor.lnum) in ex_syncbind()
7233 if (curwin->w_cursor.lnum > 1 in ex_read()
7234 && curwin->w_cursor.lnum >= lnum) in ex_read()
7235 --curwin->w_cursor.lnum; in ex_read()
7730 curwin->w_cursor.lnum = eap->line1; in ex_operators()
7779 curwin->w_cursor.lnum = eap->line2; in ex_put()
7834 print_line(curwin->w_cursor.lnum, (eap->flags & EXFLAG_NR), in ex_may_print()
7860 curwin->w_cursor.lnum = eap->line1; in ex_join()
7886 curwin->w_cursor.lnum = eap->line2; in ex_at()
8292 pos = curwin->w_cursor; // save curwin->w_cursor in ex_mark()
8293 curwin->w_cursor.lnum = eap->line2; in ex_mark()
8297 curwin->w_cursor = pos; // restore curwin->w_cursor in ex_mark()
8465 curwin->w_cursor.lnum = eap->line1++; in ex_normal()
8466 curwin->w_cursor.col = 0; in ex_normal()
8499 if (!curwin->w_cursor.lnum) in ex_startinsert()
8500 curwin->w_cursor.lnum = 1; in ex_startinsert()