Lines Matching refs:startpos

324 static void find_endpos(int idx, lpos_T *startpos, lpos_T *m_endpos, lpos_T *hl_endpos, long *flags…
2073 lpos_T startpos; in syn_current_attr() local
2075 startpos = endpos; in syn_current_attr()
2076 find_endpos(idx, &startpos, &endpos, &hl_endpos, in syn_current_attr()
2100 if (regmatch.startpos[0].col 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()
2711 find_endpos(sip->si_idx, &startpos, &endpos, &hl_endpos, in update_si_end()
2790 lpos_T *startpos, // where to start looking for an END match in find_endpos() argument
2821 *hl_endpos = *startpos; in find_endpos()
2851 matchcol = startpos->col; // start looking for a match at sstart in find_endpos()
2853 best_regmatch.startpos[0].col = 0; // avoid compiler warning in find_endpos()
2878 r = syn_regexec(&regmatch, startpos->lnum, lc_col, in find_endpos()
2883 if (best_idx == -1 || regmatch.startpos[0].col in find_endpos()
2884 < best_regmatch.startpos[0].col) in find_endpos()
2887 best_regmatch.startpos[0] = regmatch.startpos[0]; in find_endpos()
2913 r = syn_regexec(&regmatch, startpos->lnum, lc_col, in find_endpos()
2916 if (r && regmatch.startpos[0].col in find_endpos()
2917 <= best_regmatch.startpos[0].col) in find_endpos()
2926 if (pos.lnum > startpos->lnum) in find_endpos()
2929 line = ml_get_buf(syn_buf, startpos->lnum, FALSE); in find_endpos()
2959 if (m_endpos->lnum == startpos->lnum && m_endpos->col < startpos->col) in find_endpos()
2960 m_endpos->col = startpos->col; in find_endpos()
2964 if (end_endpos->lnum == startpos->lnum in find_endpos()
2965 && end_endpos->col < startpos->col) in find_endpos()
2966 end_endpos->col = startpos->col; in find_endpos()
2983 hl_endpos->lnum = best_regmatch.startpos[0].lnum; in find_endpos()
2984 hl_endpos->col = best_regmatch.startpos[0].col; in find_endpos()
2989 if (hl_endpos->lnum == startpos->lnum in find_endpos()
2990 && hl_endpos->col < startpos->col) in find_endpos()
2991 hl_endpos->col = startpos->col; in find_endpos()
3065 result->lnum = regmatch->startpos[0].lnum; in syn_add_end_off()
3066 col = regmatch->startpos[0].col; in syn_add_end_off()
3123 result->lnum = regmatch->startpos[0].lnum; in syn_add_start_off()
3124 col = regmatch->startpos[0].col; in syn_add_start_off()
3220 rmp->startpos[0].lnum += lnum; in syn_regexec()