Lines Matching refs:w_cursor
119 curwin->w_cursor.lnum = 1; in read_buffer()
120 curwin->w_cursor.col = 0; in read_buffer()
582 win->w_cursor.lnum == 1 ? 0 : win->w_cursor.lnum, in close_buffer()
583 win->w_cursor.col, TRUE); in close_buffer()
1814 curwin->w_cursor.lnum = 1; in enter_buffer()
1815 curwin->w_cursor.col = 0; in enter_buffer()
1816 curwin->w_cursor.coladd = 0; in enter_buffer()
1855 if (curwin->w_cursor.lnum == 1 && inindent(0)) in enter_buffer()
2451 curwin->w_cursor.col = col; in buflist_getfile()
2453 curwin->w_cursor.coladd = 0; in buflist_getfile()
2472 curwin->w_cursor.lnum = fpos->lnum; in buflist_getfpos()
2476 curwin->w_cursor.col = 0; in buflist_getfpos()
2479 curwin->w_cursor.col = fpos->col; in buflist_getfpos()
2481 curwin->w_cursor.coladd = 0; in buflist_getfpos()
3272 _("line %ld"), buf == curbuf ? curwin->w_cursor.lnum in buflist_list()
3555 buflist_setfpos(curbuf, win, win->w_cursor.lnum, win->w_cursor.col, TRUE); in buflist_altfpos()
3712 if (curwin->w_cursor.lnum > 1000000L) in fileinfo()
3713 n = (int)(((long)curwin->w_cursor.lnum) / in fileinfo()
3716 n = (int)(((long)curwin->w_cursor.lnum * 100L) / in fileinfo()
3732 (long)curwin->w_cursor.lnum, in fileinfo()
3738 (int)curwin->w_cursor.col + 1, (int)curwin->w_virtcol + 1); in fileinfo()
4179 lnum = wp->w_cursor.lnum; in build_stl_str_hl()
4183 wp->w_cursor.lnum = lnum; in build_stl_str_hl()
4194 if (wp->w_cursor.col > (colnr_T)len) in build_stl_str_hl()
4198 wp->w_cursor.col = (colnr_T)len; in build_stl_str_hl()
4199 wp->w_cursor.coladd = 0; in build_stl_str_hl()
4203 byteval = (*mb_ptr2char)(p + wp->w_cursor.col); in build_stl_str_hl()
4605 ? 0L : (long)(wp->w_cursor.lnum); in build_stl_str_hl()
4614 ? 0 : (int)wp->w_cursor.col + 1; in build_stl_str_hl()
4624 getvcol(wp, &wp->w_cursor, NULL, &virtcol, NULL); in build_stl_str_hl()
4631 ? 0 : (int)wp->w_cursor.col + 1))) in build_stl_str_hl()
4637 num = (int)(((long)wp->w_cursor.lnum * 100L) / in build_stl_str_hl()
4675 l = ml_find_line_or_offset(wp->w_buffer, wp->w_cursor.lnum, NULL); in build_stl_str_hl()
4678 0 : (int)wp->w_cursor.col); in build_stl_str_hl()