| /vim-8.2.3635/src/ |
| H A D | textobject.c | 759 if (VIsual_active && LT_POS(curwin->w_cursor, VIsual)) in current_word() 873 if (LT_POS(start_pos, VIsual)) in current_sent() 884 while (LT_POS(pos, curwin->w_cursor)) in current_sent() 930 while (LT_POS(pos, curwin->w_cursor)) in current_sent() 1066 else if (LT_POS(VIsual, curwin->w_cursor)) in current_block() 1137 if (!LT_POS(start_pos, old_start) && !LT_POS(old_end, curwin->w_cursor) in current_block() 1324 else if (LT_POS(VIsual, curwin->w_cursor)) in current_tagblock() 1381 if (r < 1 || LT_POS(curwin->w_cursor, old_end)) in current_tagblock() 1442 if (LT_POS(end_pos, start_pos)) in current_tagblock() 1455 if (LT_POS(end_pos, start_pos)) in current_tagblock() [all …]
|
| H A D | mouse.c | 580 if ((LT_POS(curwin->w_cursor, VIsual) in do_mouse() 581 && (LT_POS(m_pos, curwin->w_cursor) in do_mouse() 582 || LT_POS(VIsual, m_pos))) in do_mouse() 583 || (LT_POS(VIsual, curwin->w_cursor) in do_mouse() 584 && (LT_POS(m_pos, VIsual) in do_mouse() 585 || LT_POS(curwin->w_cursor, m_pos)))) in do_mouse() 647 if (LT_POS(curwin->w_cursor, VIsual)) in do_mouse() 780 if (LT_POS(curwin->w_cursor, start_visual)) in do_mouse() 782 else if (LT_POS(end_visual, curwin->w_cursor)) in do_mouse() 978 if (LT_POS(curwin->w_cursor, VIsual)) in do_mouse() [all …]
|
| H A D | mark.c | 375 if (((c == '<') == LT_POS(*startp, *endp) || endp->lnum == 0) in getmark_buf_fnum() 469 if ((result == NULL || LT_POS(curbuf->b_namedm[i], *result)) in getnextmark() 470 && LT_POS(pos, curbuf->b_namedm[i])) in getnextmark() 475 if ((result == NULL || LT_POS(*result, curbuf->b_namedm[i])) in getnextmark() 476 && LT_POS(curbuf->b_namedm[i], pos)) in getnextmark() 716 if ((LT_POS(*startp, *endp) || endp->lnum == 0) && startp->lnum != 0) in ex_marks()
|
| H A D | macros.h | 24 #define LT_POS(a, b) (((a).lnum != (b).lnum) \ macro 38 #define LTOREQ_POS(a, b) (LT_POS(a, b) || EQUAL_POS(a, b))
|
| H A D | search.c | 1559 && ((dirc == '/' && LT_POS(pos, curwin->w_cursor)) in do_search() 1560 || (dirc == '?' && LT_POS(curwin->w_cursor, pos)))) in do_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() 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() 3238 wraparound = ((dirc == '?' && LT_POS(lastpos, p)) in update_search_stat() 3239 || (dirc == '/' && LT_POS(p, lastpos))); in update_search_stat() 3289 if (LT_POS(p, endpos)) in update_search_stat()
|
| H A D | beval.c | 62 if (LT_POS(VIsual, curwin->w_cursor)) in find_word_under_cursor()
|
| H A D | normal.c | 1820 int cursor_bot = LT_POS(VIsual, curwin->w_cursor); in clear_showcmd() 3874 if (LT_POS(curwin->w_cursor, VIsual)) in get_visual_text() 6781 if (LT_POS(startpos, curwin->w_cursor)) in nv_wordcmd() 6845 && gchar_cursor() != NUL && LT_POS(VIsual, curwin->w_cursor)) in adjust_for_sel() 6867 if (LT_POS(VIsual, curwin->w_cursor)) in unadjust_for_sel() 7132 if (*ml_get_cursor() != NUL && LT_POS(curwin->w_cursor, old_pos) in nv_edit() 7133 && LT_POS(curwin->w_cursor, old_visual)) in nv_edit()
|
| H A D | ops.c | 1548 && LT_POS(curbuf->b_op_start_orig, t1)) in op_insert() 3028 if (LT_POS(VIsual, curwin->w_cursor)) in cursor_pos_info() 3638 if (LT_POS(VIsual, curwin->w_cursor)) in do_pending_operator() 3666 if (LT_POS(oap->start, curwin->w_cursor)) in do_pending_operator()
|
| H A D | regexp.c | 1287 if (LT_POS(VIsual, wp->w_cursor)) in reg_match_visual() 1302 if (LT_POS(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end)) in reg_match_visual()
|
| H A D | cindent.c | 246 && LT_POS(*rs_pos, *comment_pos))) in ind_find_start_CORS() 2117 || LT_POS(*trypos, *comment_pos))) in get_c_indent()
|
| H A D | ex_getln.c | 646 if (LT_POS(is_state->match_start, is_state->match_end)) in may_adjust_incsearch_highlighting() 683 if (LT_POS(t, is_state->search_start) && c == Ctrl_G) in may_adjust_incsearch_highlighting()
|
| H A D | clipboard.c | 82 if (LT_POS(VIsual, curwin->w_cursor)) in clip_update_selection()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | version8.txt | 46654 Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
|