Lines Matching refs:VIsual
1397 curbuf->b_visual.vi_start = VIsual; in end_visual_mode_keep_button()
1820 int cursor_bot = LT_POS(VIsual, curwin->w_cursor); in clear_showcmd()
1828 top = VIsual.lnum; in clear_showcmd()
1834 bot = VIsual.lnum; in clear_showcmd()
1853 getvcols(curwin, &curwin->w_cursor, &VIsual, &leftcol, &rightcol); in clear_showcmd()
1861 else if (VIsual_mode == 'V' || VIsual.lnum != curwin->w_cursor.lnum) in clear_showcmd()
1872 s = ml_get_pos(&VIsual); in clear_showcmd()
1878 e = ml_get_pos(&VIsual); in clear_showcmd()
3861 if (VIsual.lnum != curwin->w_cursor.lnum) in get_visual_text()
3874 if (LT_POS(curwin->w_cursor, VIsual)) in get_visual_text()
3877 *lenp = VIsual.col - curwin->w_cursor.col + 1; in get_visual_text()
3881 *pp = ml_get_pos(&VIsual); in get_visual_text()
3882 *lenp = curwin->w_cursor.col - VIsual.col + 1; in get_visual_text()
5186 getvcols(curwin, &old_cursor, &VIsual, &left, &right); in v_swap_corners()
5187 curwin->w_cursor.lnum = VIsual.lnum; in v_swap_corners()
5189 VIsual = curwin->w_cursor; in v_swap_corners()
5195 if (old_cursor.lnum >= VIsual.lnum && *p_sel == 'e') in v_swap_corners()
5202 curwin->w_cursor.lnum = VIsual.lnum; in v_swap_corners()
5203 if (old_cursor.lnum <= VIsual.lnum && *p_sel == 'e') in v_swap_corners()
5206 VIsual = curwin->w_cursor; in v_swap_corners()
5216 curwin->w_cursor = VIsual; in v_swap_corners()
5217 VIsual = old_cursor; in v_swap_corners()
5678 VIsual = curwin->w_cursor; in nv_visual()
5791 VIsual = curwin->w_cursor; in n_start_visual_mode()
5934 curbuf->b_visual.vi_start = VIsual; in nv_g_cmd()
5950 VIsual = curwin->w_cursor; in nv_g_cmd()
6845 && gchar_cursor() != NUL && LT_POS(VIsual, curwin->w_cursor)) in adjust_for_sel()
6865 if (*p_sel == 'e' && !EQUAL_POS(VIsual, curwin->w_cursor)) in unadjust_for_sel()
6867 if (LT_POS(VIsual, curwin->w_cursor)) in unadjust_for_sel()
6870 pp = &VIsual; in unadjust_for_sel()
7114 pos_T old_visual = VIsual; in nv_edit()
7117 if (VIsual_mode == 'V' || curwin->w_cursor.lnum != VIsual.lnum) in nv_edit()