Home
last modified time | relevance | path

Searched refs:endcol (Results 1 – 17 of 17) sorted by relevance

/vim-8.2.3635/src/
H A Dmatch.c656 shl->endcol = MAXCOL; in prepare_search_hl_line()
678 shl->endcol = MAXCOL; in prepare_search_hl_line()
683 shl->endcol += (*mb_ptr2len)((*line) + shl->endcol); in prepare_search_hl_line()
685 ++shl->endcol; in prepare_search_hl_line()
750 && col < shl->endcol) in update_search_hl()
754 if (shl->endcol < next_col) in update_search_hl()
755 shl->endcol = next_col; in update_search_hl()
771 else if (col == shl->endcol) in update_search_hl()
788 shl->endcol = MAXCOL; in update_search_hl()
800 ++shl->endcol; in update_search_hl()
[all …]
H A Dscreen.c435 int endcol, in screen_line() argument
460 if (endcol > Columns) in screen_line()
461 endcol = Columns; in screen_line()
485 if (col <= endcol) in screen_line()
487 endcol + coloff + 1, ' ', ' ', 0); in screen_line()
489 col = endcol + 1; in screen_line()
513 while (col < endcol) in screen_line()
515 if (has_mbyte && (col + 1 < endcol)) in screen_line()
592 && col + 1 < endcol in screen_line()
601 && col + 2 < endcol in screen_line()
[all …]
H A Dmove.c956 colnr_T endcol; 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()
990 endcol += extra; in curs_columns()
1052 off_right = (int)endcol - (int)(curwin->w_leftcol + curwin->w_width in curs_columns()
1168 endcol = (n - curwin->w_height + 1) * width; in curs_columns()
1169 while (endcol > curwin->w_virtcol) in curs_columns()
1170 endcol -= width; in curs_columns()
1171 if (endcol > curwin->w_skipcol) in curs_columns()
1172 curwin->w_skipcol = endcol; in curs_columns()
H A Dregister.c1233 colnr_T startcol = 0, endcol = MAXCOL; in op_yank() local
1260 endcol = oap->end.col; in op_yank()
1264 if (p[endcol] == NUL || (cs + oap->end.coladd < ce in op_yank()
1268 && (*mb_head_off)(p, p + endcol) == 0)) in op_yank()
1277 endcol = startcol; in op_yank()
1283 endcol -= oap->inclusive; in op_yank()
1288 if (endcol == MAXCOL) in op_yank()
1289 endcol = (colnr_T)STRLEN(p); in op_yank()
1290 if (startcol > endcol || is_oneChar) in op_yank()
1293 bd.textlen = endcol - startcol + oap->inclusive; in op_yank()
H A Dhighlight.c3164 int endcol = 19; in syn_list_header() local
3175 endcol = 15; in syn_list_header()
3185 if (msg_col >= endcol) // wrap around is like starting a new line in syn_list_header()
3189 if (msg_col >= endcol) // output at least one space in syn_list_header()
3190 endcol = msg_col + 1; in syn_list_header()
3191 if (Columns <= endcol) // avoid hang for tiny window in syn_list_header()
3192 endcol = Columns - 1; in syn_list_header()
3194 msg_advance(endcol); in syn_list_header()
3199 if (endcol == Columns - 1 && endcol <= name_col) in syn_list_header()
H A Dsyntax.c332 static int check_keyword_id(char_u *line, int startcol, int *endcol, long *flags, short **next_list…
1774 int endcol; in syn_current_attr() local
1885 &endcol, &flags, &next_list, cur_si, in syn_current_attr()
1896 cur_si->si_m_endpos.col = endcol; in syn_current_attr()
1898 cur_si->si_h_endpos.col = endcol; in syn_current_attr()
4116 int endcol = 15; in syn_list_cluster() local
4122 if (msg_col >= endcol) // output at least one space in syn_list_cluster()
4123 endcol = msg_col + 1; in syn_list_cluster()
4124 if (Columns <= endcol) // avoid hang for tiny window in syn_list_cluster()
4125 endcol = Columns - 1; in syn_list_cluster()
[all …]
H A Dspell.c2810 colnr_T endcol; in check_need_cap() local
2817 endcol = 0; in check_need_cap()
2834 endcol = (colnr_T)STRLEN(line); in check_need_cap()
2839 endcol = col; in check_need_cap()
2841 if (endcol > 0) in check_need_cap()
2846 p = line + endcol; in check_need_cap()
2853 && regmatch.endp[0] == line + endcol) in check_need_cap()
H A Dops.c851 int endcol = 0; in op_delete() local
859 endcol = getviscol2(oap->end.col, oap->end.coladd); in op_delete()
864 coladvance(endcol); in op_delete()
H A Dstructs.h3309 colnr_T endcol; // in win_line() points to char where HL ends member
/vim-8.2.3635/src/testdir/
H A Dtest_cursor_func.vim90 \ 'endcol': wincol + 7}, winid->screenpos(1, 1))
94 \ 'endcol': wincol + 13}, winid->screenpos(1, 7))
98 \ 'endcol': wincol + 1}, screenpos(winid, 2, 22))
103 \ 'endcol': wincol + 9}, screenpos(winid, 2, 22))
114 \ 'endcol': wincol + 7}, winid->screenpos(line('$'), 8))
115 call assert_equal({'row': winrow - 1, 'col': 0, 'curscol': 0, 'endcol': 0},
124 call assert_equal({'col': 1, 'row': 1, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
126 call assert_equal({'col': 1, 'row': 2, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
H A Dtest_textprop.vim1265 …call assert_fails("call prop_add(1, 1, #{end_lnum: 1, endcol: 2, type: 'ErrorMsg', bufnr: bnr})", …
H A Dtest_vim9_builtin.vim2882 assert_equal({col: 1, row: 1, endcol: 1, curscol: 1}, screenpos(1, 1, 1))
/vim-8.2.3635/runtime/indent/
H A Dmatlab.vim57 let endcol = a:0 >= 1 ? a:1 : 1 / 0 | let x = [0, 0, 0, 0]
61 if !submatch || c >= endcol | break | endif
/vim-8.2.3635/runtime/pack/dist/opt/matchit/autoload/
H A Dmatchit.vim133 let endcol = matchend(matchline, regexp)
134 let suf = strlen(matchline) - endcol
136 let suffix = (suf ? '\)\%' . (endcol + 1) . 'c.*$' : '\)$')
256 let endcol = matchend(matchline, regexp)
257 if endcol > currcol " This is NOT off by one!
258 call cursor(0, endcol)
/vim-8.2.3635/src/proto/
H A Dscreen.pro10 void screen_line(int row, int coloff, int endcol, int clear_width, int flags);
/vim-8.2.3635/runtime/doc/
H A Dpopup.txt979 endcol last column, like "col"
H A Deval.txt9323 endcol last screen column
9326 The "endcol" value differs from "col" when the character
9328 be 1 and "endcol" can be 8.
9330 a Tab it would be the same as "endcol", while for a double