Lines Matching refs:pos_copy
311 static pos_T pos_copy; in getmark_buf_fnum() local
326 pos_copy = curwin->w_pcmark; // need to make a copy because in getmark_buf_fnum()
327 posp = &pos_copy; // w_pcmark may be changed soon in getmark_buf_fnum()
350 pos_copy = curwin->w_cursor; in getmark_buf_fnum()
351 posp = &pos_copy; in getmark_buf_fnum()
365 pos_copy = curwin->w_cursor; in getmark_buf_fnum()
366 posp = &pos_copy; in getmark_buf_fnum()
385 pos_copy = *posp; in getmark_buf_fnum()
386 posp = &pos_copy; in getmark_buf_fnum()
388 pos_copy.col = 0; in getmark_buf_fnum()
390 pos_copy.col = MAXCOL; in getmark_buf_fnum()
391 pos_copy.coladd = 0; in getmark_buf_fnum()
414 posp = &pos_copy; in getmark_buf_fnum()
426 pos_copy.lnum = -1; // can't get file in getmark_buf_fnum()
429 pos_copy.lnum = 0; // mark exists, but is not valid in in getmark_buf_fnum()