| /vim-8.2.3635/src/ |
| H A D | match.c | 396 shl->rm.startpos[0].lnum = 0; in next_search_hl_pos() 397 shl->rm.startpos[0].col = start; in next_search_hl_pos() 470 && shl->rm.endpos[0].col <= shl->rm.startpos[0].col)) in next_search_hl() 474 matchcol = shl->rm.startpos[0].col; in next_search_hl() 536 if (shl->rm.startpos[0].lnum > 0 in next_search_hl() 537 || shl->rm.startpos[0].col >= mincol in next_search_hl() 541 shl->lnum += shl->rm.startpos[0].lnum; in next_search_hl() 606 - shl->rm.startpos[0].lnum; in prepare_search_hl() 671 shl->startcol = shl->rm.startpos[0].col; in prepare_search_hl_line() 675 - shl->rm.startpos[0].lnum) in prepare_search_hl_line() [all …]
|
| H A D | syntax.c | 2073 lpos_T startpos; in syn_current_attr() local 2075 startpos = endpos; in syn_current_attr() 2688 lpos_T startpos; in update_si_end() local 2709 startpos.lnum = current_lnum; in update_si_end() 2710 startpos.col = startcol; in update_si_end() 2821 *hl_endpos = *startpos; in find_endpos() 2887 best_regmatch.startpos[0] = regmatch.startpos[0]; in find_endpos() 2926 if (pos.lnum > startpos->lnum) in find_endpos() 2959 if (m_endpos->lnum == startpos->lnum && m_endpos->col < startpos->col) in find_endpos() 2991 hl_endpos->col = startpos->col; in find_endpos() [all …]
|
| H A D | search.c | 768 matchpos = regmatch.startpos[0]; in searchit() 860 matchpos = regmatch.startpos[0]; in searchit() 898 : (lnum + regmatch.startpos[0].lnum in searchit() 900 || (lnum + regmatch.startpos[0].lnum in searchit() 902 && (int)regmatch.startpos[0].col in searchit() 907 matchpos = regmatch.startpos[0]; in searchit() 1175 if (rp->startpos[submatch].lnum >= 0) in first_submatch() 1937 for (p = line + (lnum == startpos->lnum in find_rawstring_end() 1938 ? startpos->col + 1 : 0); *p; ++p) in find_rawstring_end() 2904 regmatch.startpos[0].col = -1; in is_zero_width() [all …]
|
| H A D | ex_cmds.c | 4090 if (regmatch.startpos[0].lnum > 0) in ex_substitute() 4092 lnum += regmatch.startpos[0].lnum; in ex_substitute() 4093 sub_firstlnum += regmatch.startpos[0].lnum; in ex_substitute() 4094 nmatch -= regmatch.startpos[0].lnum; in ex_substitute() 4278 - regmatch.startpos[0].lnum; in ex_substitute() 4385 curwin->w_cursor.col = regmatch.startpos[0].col; in ex_substitute() 4442 - regmatch.startpos[0].col); in ex_substitute() 4447 total_added + regmatch.startpos[0].col, in ex_substitute() 4461 copy_len = regmatch.startpos[0].col - copycol; in ex_substitute() 4638 || regmatch.startpos[0].lnum > 0) in ex_substitute() [all …]
|
| H A D | regexp.c | 2243 clnum = rex.reg_mmatch->startpos[no].lnum; in vim_regsub_both() 2248 s = reg_getline(clnum) + rex.reg_mmatch->startpos[no].col; in vim_regsub_both() 2251 - rex.reg_mmatch->startpos[no].col; in vim_regsub_both() 2410 lnum = rsm.sm_mmatch->startpos[no].lnum; in reg_submatch() 2417 s += rsm.sm_mmatch->startpos[no].col; in reg_submatch() 2422 - rsm.sm_mmatch->startpos[no].col; in reg_submatch() 2502 slnum = rsm.sm_mmatch->startpos[no].lnum; in reg_submatch_list() 2507 scol = rsm.sm_mmatch->startpos[no].col; in reg_submatch_list()
|
| H A D | regexp.h | 150 lpos_T startpos[NSUBEXP]; member
|
| H A D | ops.c | 2370 pos_T startpos; in op_addsub() local 2420 startpos = curbuf->b_op_start; in op_addsub() 2452 curbuf->b_op_start = startpos; in op_addsub() 2496 pos_T startpos; in do_addsub() local 2679 startpos = curwin->w_cursor; in do_addsub() 2779 startpos = curwin->w_cursor; in do_addsub() 2901 curbuf->b_op_start = startpos; in do_addsub()
|
| H A D | normal.c | 5285 pos_T startpos; in n_swapchar() local 5307 startpos = curwin->w_cursor; in n_swapchar() 5309 pos = startpos; in n_swapchar() 5364 changed_lines(startpos.lnum, startpos.col, curwin->w_cursor.lnum + 1, in n_swapchar() 5366 curbuf->b_op_start = startpos; in n_swapchar() 6718 pos_T startpos = curwin->w_cursor; in nv_wordcmd() local 6781 if (LT_POS(startpos, curwin->w_cursor)) in nv_wordcmd()
|
| H A D | mark.c | 444 pos_T *startpos, // where to start in getnextmark() argument 452 pos = *startpos; in getnextmark()
|
| H A D | cindent.c | 1695 corr_ind_maxparen(pos_T *startpos) in corr_ind_maxparen() argument 1697 long n = (long)startpos->lnum - (long)curwin->w_cursor.lnum; in corr_ind_maxparen()
|
| H A D | regexp_bt.c | 4849 rex.reg_startpos = rex.reg_mmatch->startpos; in bt_regexec_both() 5024 lpos_T *start = &rex.reg_mmatch->startpos[0]; in bt_regexec_both() 5029 rex.reg_mmatch->endpos[0] = rex.reg_mmatch->startpos[0]; in bt_regexec_both()
|
| H A D | regexp_nfa.c | 7356 rex.reg_startpos = rex.reg_mmatch->startpos; in nfa_regexec_both() 7453 lpos_T *start = &rex.reg_mmatch->startpos[0]; in nfa_regexec_both() 7458 rex.reg_mmatch->endpos[0] = rex.reg_mmatch->startpos[0]; in nfa_regexec_both()
|
| H A D | quickfix.c | 5959 regmatch->startpos[0].lnum + lnum, FALSE), in vgr_match_buflines() 5960 regmatch->startpos[0].lnum + lnum, in vgr_match_buflines() 5962 regmatch->startpos[0].col + 1, in vgr_match_buflines()
|
| /vim-8.2.3635/runtime/pack/dist/opt/matchit/autoload/ |
| H A D | matchit.vim | 55 let startpos = [line("."), col(".")] 59 return s:CleanUp(restore_options, a:mode, startpos) 114 let matchline = getline(startpos[0]) 236 fun! s:CleanUp(options, mode, startpos, ...) argument 248 elseif (a:startpos[0] < line(".")) || 249 \ (a:startpos[0] == line(".") && a:startpos[1] < col(".")) 579 let startpos = [line("."), col(".")] 680 call s:CleanUp(restore_options, a:mode, startpos) 694 " let startpos = matchit#MultiMatch("bW") 696 " if startpos == "" [all …]
|
| /vim-8.2.3635/src/proto/ |
| H A D | mark.pro | 11 pos_T *getnextmark(pos_T *startpos, int dir, int begin_line);
|