| /vim-8.2.3635/src/ |
| H A D | textobject.c | 1010 VIsual = start_pos; in current_sent() 1068 old_start = VIsual; in current_block() 1072 old_end = VIsual; in current_block() 1166 VIsual = start_pos; in current_block() 1326 old_start = VIsual; in current_tagblock() 1330 old_end = VIsual; in current_tagblock() 1446 VIsual = start_pos; in current_tagblock() 1628 VIsual.col = 0; in current_par() 1753 dec(&VIsual); in current_quote() 1763 VIsual = t; in current_quote() [all …]
|
| H A D | mouse.c | 650 end_visual = VIsual; in do_mouse() 781 VIsual = end_visual; in do_mouse() 783 VIsual = start_visual; in do_mouse() 791 VIsual = start_visual; in do_mouse() 793 VIsual = end_visual; in do_mouse() 803 VIsual = start_visual; in do_mouse() 805 VIsual = end_visual; in do_mouse() 921 orig_cursor = VIsual; in do_mouse() 926 orig_cursor = VIsual; in do_mouse() 979 ++VIsual.col; in do_mouse() [all …]
|
| H A D | drawscreen.c | 1289 bot = &VIsual; in fold_line() 1294 top = &VIsual; in fold_line() 1952 to = VIsual.lnum; in win_update() 1956 from = VIsual.lnum; in win_update() 1995 if (VIsual.lnum < from) in win_update() 1996 from = VIsual.lnum; in win_update() 1997 if (VIsual.lnum > to) in win_update() 1998 to = VIsual.lnum; in win_update() 2055 from = VIsual.lnum; in win_update() 2056 if (to < VIsual.lnum) in win_update() [all …]
|
| H A D | beval.c | 62 if (LT_POS(VIsual, curwin->w_cursor)) in find_word_under_cursor() 64 spos = &VIsual; in find_word_under_cursor() 70 epos = &VIsual; in find_word_under_cursor() 92 lbuf = ml_get_buf(curwin->w_buffer, VIsual.lnum, FALSE); in find_word_under_cursor()
|
| H A D | normal.c | 1828 top = VIsual.lnum; in clear_showcmd() 1834 bot = VIsual.lnum; in clear_showcmd() 1872 s = ml_get_pos(&VIsual); in clear_showcmd() 1878 e = ml_get_pos(&VIsual); in clear_showcmd() 3881 *pp = ml_get_pos(&VIsual); in get_visual_text() 5189 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() 5791 VIsual = curwin->w_cursor; in n_start_visual_mode() 6870 pp = &VIsual; in unadjust_for_sel() [all …]
|
| H A D | ops.c | 3028 if (LT_POS(VIsual, curwin->w_cursor)) in cursor_pos_info() 3030 min_pos = VIsual; in cursor_pos_info() 3036 max_pos = VIsual; in cursor_pos_info() 3529 VIsual = oap->start; in do_pending_operator() 3622 curbuf->b_visual.vi_start = VIsual; in do_pending_operator() 3638 if (LT_POS(VIsual, curwin->w_cursor)) in do_pending_operator() 3640 VIsual.col = 0; in do_pending_operator() 3647 VIsual.col = (colnr_T)STRLEN(ml_get(VIsual.lnum)); in do_pending_operator() 3656 oap->start = VIsual; in do_pending_operator()
|
| H A D | search.c | 2964 pos_T save_VIsual = VIsual; in current_search() 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() 3032 VIsual = save_VIsual; in current_search() 3056 VIsual = start_pos; in current_search() 3060 if (LT_POS(VIsual, end_pos) && forward) in current_search() 3069 else if (VIsual_active && LT_POS(curwin->w_cursor, VIsual) && forward) 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() 3080 inc(&VIsual); in current_search()
|
| H A D | clipboard.c | 82 if (LT_POS(VIsual, curwin->w_cursor)) in clip_update_selection() 84 start = VIsual; in clip_update_selection() 92 end = VIsual; in clip_update_selection() 2040 old_visual = VIsual; in clip_get_selection() 2061 VIsual = old_visual; in clip_get_selection()
|
| H A D | regexp.c | 1282 if (rex.reg_buf != curbuf || VIsual.lnum == 0) in reg_match_visual() 1287 if (LT_POS(VIsual, wp->w_cursor)) in reg_match_visual() 1289 top = VIsual; in reg_match_visual() 1295 bot = VIsual; in reg_match_visual()
|
| H A D | drawline.c | 542 if (LTOREQ_POS(curwin->w_cursor, VIsual)) in win_line() 546 bot = &VIsual; in win_line() 551 top = &VIsual; in win_line() 2639 || lnum == VIsual.lnum in win_line()
|
| H A D | menu.c | 2361 VIsual = curwin->w_cursor; in execute_menu() 2542 pos_T save_visual = VIsual; in winbar_click() 2566 VIsual = save_visual; in winbar_click()
|
| H A D | edit.c | 2513 if (VIsual_active && VIsual.lnum == curwin->w_cursor.lnum) in stop_insert() 2517 if (VIsual.col > len) in stop_insert() 2519 VIsual.col = len; in stop_insert() 2520 VIsual.coladd = 0; in stop_insert()
|
| H A D | fold.c | 1062 if (LTOREQ_POS(VIsual, curwin->w_cursor)) in foldAdjustVisual() 1064 start = &VIsual; in foldAdjustVisual() 1070 end = &VIsual; in foldAdjustVisual()
|
| H A D | spellsuggest.c | 492 if (curwin->w_cursor.lnum != VIsual.lnum) in spell_suggest() 497 badlen = (int)curwin->w_cursor.col - (int)VIsual.col; in spell_suggest() 501 curwin->w_cursor.col = VIsual.col; in spell_suggest()
|
| H A D | charset.c | 1346 && (*p_sel == 'e' || LTOREQ_POS(*pos, VIsual))) in getvcol()
|
| H A D | globals.h | 881 EXTERN pos_T VIsual; // start position of active Visual selection variable
|
| H A D | getchar.c | 855 VIsual = curwin->w_cursor; in start_redo()
|
| H A D | eval.c | 5304 pos = VIsual; in var2fpos()
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_edit.vim | 2044 " This was triggering ModeChanged before setting VIsual, causing a crash.
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | autocmd.txt | 1048 - VIsual mode
|