Lines Matching refs:w_cursor

1247     pos = curwin->w_cursor;	// start searching at the cursor position  in do_search()
1559 && ((dirc == '/' && LT_POS(pos, curwin->w_cursor)) in do_search()
1560 || (dirc == '?' && LT_POS(curwin->w_cursor, pos)))) in do_search()
1622 cmdline_search_stat(dirc, &pos, &curwin->w_cursor, in do_search()
1627 && hasFolding(curwin->w_cursor.lnum, in do_search()
1658 curwin->w_cursor = pos; in do_search()
1813 col = curwin->w_cursor.col; in searchc()
1872 curwin->w_cursor.col = col; in searchc()
2107 pos = curwin->w_cursor; in findmatchlimit()
2475 count > 0 ? &match_pos : &curwin->w_cursor)) in findmatchlimit()
2831 save_cursor = curwin->w_cursor; in showmatch()
2847 curwin->w_cursor = mpos; // move to matching char in showmatch()
2868 curwin->w_cursor = save_cursor; // restore cursor position in showmatch()
2969 if (VIsual_active && *p_sel == 'e' && LT_POS(VIsual, curwin->w_cursor)) in current_search()
2975 && LT_POS(curwin->w_cursor, VIsual); in current_search()
2977 orig_pos = pos = curwin->w_cursor; in current_search()
2987 zero_width = is_zero_width(spats[last_idx].pat, TRUE, &curwin->w_cursor, in current_search()
3030 curwin->w_cursor = orig_pos; in current_search()
3059 curwin->w_cursor = end_pos; in current_search()
3064 curwin->w_cursor = pos; in current_search()
3069 else if (VIsual_active && LT_POS(curwin->w_cursor, VIsual) && forward) in current_search()
3070 curwin->w_cursor = pos; // put the cursor on the start of the match in current_search()
3077 if (forward && LTOREQ_POS(VIsual, curwin->w_cursor)) in current_search()
3079 else if (!forward && LTOREQ_POS(curwin->w_cursor, VIsual)) in current_search()
3725 if (depth == -1 && lnum == curwin->w_cursor.lnum) in find_pattern_in_path()
3829 if (depth == -1 && lnum == curwin->w_cursor.lnum in find_pattern_in_path()
3877 curwin->w_cursor.lnum = lnum; in find_pattern_in_path()
3888 curwin->w_cursor.lnum = files[depth].lnum; in find_pattern_in_path()
3893 curwin->w_cursor.col = (colnr_T)(startp - line); in find_pattern_in_path()
4098 pos_T pos = curwin->w_cursor; in f_searchcount()