| /vim-8.2.3635/src/ |
| H A D | textformat.c | 81 int startcol; // Cursor column at entry in internal_format() local 121 if ((startcol = curwin->w_cursor.col) == 0) in internal_format() 128 curwin->w_cursor.col = startcol; in internal_format() 201 if (curwin->w_cursor.col != startcol) in internal_format() 263 if (curwin->w_cursor.col == startcol) in internal_format() 303 curwin->w_cursor.col = startcol; in internal_format() 324 startcol -= curwin->w_cursor.col; in internal_format() 325 if (startcol < 0) in internal_format() 326 startcol = 0; in internal_format() 336 saved_text[startcol] = NUL; in internal_format() [all …]
|
| H A D | insexpand.c | 2460 compl_col = startcol; in set_completion() 2504 int startcol; in f_complete() local 2532 if (startcol > 0) in f_complete() 3821 while (--startcol >= 0 && vim_isIDc(line[startcol])) in ins_complete() 3871 startcol -= (*mb_head_off)(line, line + startcol); in ins_complete() 3879 startcol -= head_off; in ins_complete() 3883 while (--startcol >= 0 && vim_iswordc(line[startcol])) in ins_complete() 3885 compl_col += ++startcol; in ins_complete() 3928 if (startcol > 0) in ins_complete() 3936 startcol = 0; in ins_complete() [all …]
|
| H A D | match.c | 655 shl->startcol = MAXCOL; in prepare_search_hl_line() 671 shl->startcol = shl->rm.startpos[0].col; in prepare_search_hl_line() 673 shl->startcol = 0; in prepare_search_hl_line() 680 if (shl->startcol == shl->endcol) in prepare_search_hl_line() 748 if (shl->startcol != MAXCOL in update_search_hl() 749 && col >= shl->startcol in update_search_hl() 784 shl->startcol = shl->rm.startpos[0].col; in update_search_hl() 790 if (shl->startcol == shl->endcol) in update_search_hl() 867 || (prevcol > (long)search_hl->startcol in get_prevcol_hl_flag() 876 || (prevcol > (long)cur->hl.startcol in get_prevcol_hl_flag() [all …]
|
| H A D | syntax.c | 1773 int startcol; in syn_current_attr() local 2014 startcol = pos.col; in syn_current_attr() 2018 spp->sp_startcol = startcol; in syn_current_attr() 2024 if (startcol >= next_match_col) in syn_current_attr() 2094 && (int)endpos.col + syncing < startcol) in syn_current_attr() 2113 && (int)hl_startpos.col < startcol) in syn_current_attr() 2114 hl_startpos.col = startcol; in syn_current_attr() 2118 next_match_col = startcol; in syn_current_attr() 2710 startpos.col = startcol; in update_si_end() 3252 kwp = line + startcol; in check_keyword_id() [all …]
|
| H A D | register.c | 1233 colnr_T startcol = 0, endcol = MAXCOL; in op_yank() local 1243 startcol = oap->start.col; in op_yank() 1253 startcol++; in op_yank() 1277 endcol = startcol; in op_yank() 1290 if (startcol > endcol || is_oneChar) in op_yank() 1293 bd.textlen = endcol - startcol + oap->inclusive; in op_yank() 1294 bd.textstart = p + startcol; in op_yank()
|
| H A D | move.c | 955 colnr_T startcol; in curs_columns() local 978 startcol = curwin->w_virtcol = endcol = curwin->w_leftcol; in curs_columns() 982 &startcol, &(curwin->w_virtcol), &endcol); in curs_columns() 985 if (startcol > dollar_vcol) in curs_columns() 1051 off_left = (int)startcol - (int)curwin->w_leftcol - siso; in curs_columns()
|
| H A D | edit.c | 61 static void ins_up(int startcol); 63 static void ins_down(int startcol); 4702 int startcol) // when TRUE move to Insstart.col in ins_up() argument 4714 if (startcol) in ins_up() 4763 int startcol) // when TRUE move to Insstart.col in ins_down() argument 4775 if (startcol) in ins_down()
|
| H A D | charset.c | 800 linetabsize_col(int startcol, char_u *s) in linetabsize_col() argument 802 colnr_T col = startcol; in linetabsize_col()
|
| H A D | ex_getln.c | 2791 int startcol = 0; in getexmodeline() local 2814 startcol = msg_col; in getexmodeline() 2905 msg_col = startcol; in getexmodeline() 2930 msg_col = startcol; in getexmodeline()
|
| H A D | ops.c | 486 colnr_T startcol; // column where insert starts in block_insert() local 561 startcol = offset + spaces; in block_insert() 564 mch_memmove(newp + startcol, s, (size_t)s_len); in block_insert() 585 inserted_bytes(lnum, startcol, s_len); in block_insert()
|
| H A D | normal.c | 1524 colnr_T startcol, in find_ident_at_pos() argument 1547 col = startcol; in find_ident_at_pos() 1649 startcol -= col; in find_ident_at_pos() 1659 && col <= (int)startcol in find_ident_at_pos() 1668 && col <= (int)startcol in find_ident_at_pos()
|
| H A D | spell.c | 4280 spell_word_start(int startcol) in spell_word_start() argument 4287 return startcol; in spell_word_start() 4291 for (p = line + startcol; p > line; ) in spell_word_start()
|
| H A D | regexp_nfa.c | 5647 find_match_text(colnr_T startcol, int regstart, char_u *match_text) in find_match_text() argument 5649 colnr_T col = startcol; in find_match_text() 7343 colnr_T startcol, // column to start looking for match in nfa_regexec_both() argument 7350 colnr_T col = startcol; in nfa_regexec_both()
|
| H A D | evalfunc.c | 6863 colnr_T startcol = 0; in find_some_match() local 6951 startcol = start; in find_some_match() 6985 match = vim_regexec_nl(®match, str, (colnr_T)startcol); in find_some_match() 7000 startcol = (colnr_T)(regmatch.startp[0] in find_some_match() 7002 if (startcol > (colnr_T)len in find_some_match() 7003 || str + startcol <= regmatch.startp[0]) in find_some_match()
|
| H A D | window.c | 5479 int startcol; in frame_comp_pos() local 5502 startcol = *col; in frame_comp_pos() 5508 *col = startcol; // all frames are at the same col in frame_comp_pos()
|
| H A D | structs.h | 3308 colnr_T startcol; // in win_line() points to char where HL starts member
|
| /vim-8.2.3635/src/proto/ |
| H A D | normal.pro | 11 int find_ident_at_pos(win_T *wp, linenr_T lnum, colnr_T startcol, char_u **text, int *textcol, int …
|
| H A D | spell.pro | 42 int spell_word_start(int startcol);
|
| H A D | charset.pro | 19 int linetabsize_col(int startcol, char_u *s);
|
| /vim-8.2.3635/src/testdir/ |
| H A D | test_syntax.vim | 30 func AssertHighlightGroups(lnum, startcol, expected, trans = 1, msg = "") argument 42 for l:i in range(a:startcol, a:startcol + l:expectedGroups->len() - 1)
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | 2html.vim | 1588 let s:startcol = s:col " The start column for processing text 1625 let s:expandedtab = strpart(s:line, s:startcol - 1, s:col - s:startcol) 1636 if s:startcol + s:idx == 1 1649 " given by startcol. 1650 let s:prevc = matchstr(s:line, '.\%' . (s:startcol + s:offset) . 'c') 1656 let s:vcol = virtcol([s:lnum, s:startcol + s:idx + s:offset - len(s:prevc)])
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | eval.txt | 2580 complete({startcol}, {matches}) none set Insert mode completion 3861 complete({startcol}, {matches}) *complete()* *E785* 3866 {startcol} is the byte offset in the line where the completed
|
| H A D | version8.txt | 10794 Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes #757)
|