Home
last modified time | relevance | path

Searched refs:vcol (Results 1 – 25 of 36) sorted by relevance

12

/vim-8.2.3635/src/
H A Ddrawline.c795 vcol += c; in win_line()
806 if (vcol < v && ( in win_line()
812 vcol = v; in win_line()
816 if (vcol > v) in win_line()
818 vcol -= c; in win_line()
828 if (tocol <= vcol) in win_line()
2556 if ((long)preedit_start_col <= vcol && vcol < (long)tcol) in win_line()
2709 ++vcol; in win_line()
2780 ++vcol; in win_line()
2934 ++vcol; in win_line()
[all …]
H A Dindent.c1223 int vcol; in change_indent() local
1246 vcol = vc; in change_indent()
1263 vcol = get_indent() - vcol; in change_indent()
1303 vcol = get_indent() - vcol; in change_indent()
1304 curwin->w_virtcol = (colnr_T)((vcol < 0) ? 0 : vcol); in change_indent()
1307 vcol = last_vcol = 0; in change_indent()
1317 vcol += lbr_chartabsize(ptr, ptr + new_cursor_col, (colnr_T)vcol); in change_indent()
1319 vcol = last_vcol; in change_indent()
1582 long vcol; in ex_retab() local
1640 vcol = 0; in ex_retab()
[all …]
H A Dcharset.c1199 if ((int)vcol < width1 - 1) in in_win_border()
1201 if ((int)vcol == width1 - 1) in in_win_border()
1225 colnr_T vcol; in getvcol() local
1237 vcol = 0; in getvcol()
1280 incr = ts - (vcol % ts); in getvcol()
1310 vcol += incr; in getvcol()
1331 vcol += incr; in getvcol()
1336 *start = vcol + head; in getvcol()
1338 *end = vcol + incr - 1; in getvcol()
1361 colnr_T vcol; in getvcol_nolist() local
[all …]
H A Dedit.c3181 int vcol; in replace_do_bs() local
3224 vcol = start_vcol; in replace_do_bs()
3227 vcol += chartabsize(p + i, vcol); in replace_do_bs()
3230 vcol -= start_vcol; in replace_do_bs()
4175 colnr_T vcol; in ins_bs() local
4184 start_vcol = vcol; in ins_bs()
4208 ins_bs_one(&vcol); in ins_bs()
4232 ins_bs_one(&vcol); in ins_bs()
4940 colnr_T want_vcol, vcol; in ins_tab() local
5008 vcol += i; in ins_tab()
[all …]
H A Dchange.c1045 colnr_T vcol; in ins_char_bytes() local
1059 getvcol(curwin, &curwin->w_cursor, NULL, &vcol, NULL); in ins_char_bytes()
1060 new_vcol = vcol + chartabsize(buf, vcol); in ins_char_bytes()
1061 while (oldp[col + oldlen] != NUL && vcol < new_vcol) in ins_char_bytes()
1063 vcol += chartabsize(oldp + col + oldlen, vcol); in ins_char_bytes()
1066 if (vcol > new_vcol && oldp[col + oldlen] == TAB) in ins_char_bytes()
1070 if (vcol > new_vcol) in ins_char_bytes()
1071 newlen += vcol - new_vcol; in ins_char_bytes()
H A Dregister.c1547 colnr_T vcol; in do_put() local
1830 vcol = 0; in do_put()
1844 for (ptr = oldp; vcol < col && *ptr; ) in do_put()
1847 incr = lbr_chartabsize_adv(oldp, &ptr, (colnr_T)vcol); in do_put()
1848 vcol += incr; in do_put()
1852 shortline = (vcol < col) || (vcol == col && !*ptr) ; in do_put()
1855 bd.startspaces = col - vcol; in do_put()
1856 else if (vcol > col) in do_put()
1858 bd.endspaces = vcol - col; in do_put()
2023 getvcol(curwin, &pos, NULL, &vcol, NULL); in do_put()
[all …]
H A Dgetchar.c3101 colnr_T col = 0, vcol; in vgetorpeek() local
3138 col = vcol = curwin->w_wcol = 0; in vgetorpeek()
3143 curwin->w_wcol = vcol; in vgetorpeek()
3144 vcol += lbr_chartabsize(ptr, ptr + col, in vgetorpeek()
3145 vcol); in vgetorpeek()
H A Dex_getln.c2794 int vcol = 0; in getexmodeline() local
2822 vcol = indent; in getexmodeline()
2931 vcol = 0; in getexmodeline()
2940 while (++vcol % 8); in getexmodeline()
2947 vcol += ptr2cells(p); in getexmodeline()
3014 while (++vcol % 8); in getexmodeline()
3020 vcol += char2cells(c1); in getexmodeline()
H A Dex_cmds.c3262 int vcol; in ex_append() local
3340 vcol = 0; in ex_append()
3341 for (p = theline; indent > vcol; ++p) in ex_append()
3344 ++vcol; in ex_append()
3346 vcol += 8 - vcol % 8; in ex_append()
H A Dcindent.c1604 colnr_T vcol; in get_baseclass_amount() local
1619 getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL); in get_baseclass_amount()
1620 amount = (int)vcol; in get_baseclass_amount()
H A Dsearch.c2786 colnr_T vcol; in showmatch() local
2826 getvcol(curwin, lpos, NULL, &vcol, NULL); in showmatch()
2827 if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol in showmatch()
2828 && vcol < curwin->w_leftcol + curwin->w_width)) in showmatch()
H A Dregexp_bt.c1693 colnr_T vcol = 0; in regatom() local
1696 NULL, NULL, &vcol); in regatom()
1697 ++vcol; in regatom()
1698 n = vcol; in regatom()
H A Dmouse.c3038 vcol2col(win_T *wp, linenr_T lnum, int vcol) in vcol2col() argument
3046 while (count < vcol && *ptr != NUL) in vcol2col()
/vim-8.2.3635/runtime/indent/
H A Derlang.vim71 " vcol: integer
74 " " vcol: 0 45 89
85 let vcol = a:vcol
92 " vcol + tab -> next_vcol
101 let vcol = (vcol / a:tabstop + (next_i - i)) * a:tabstop
102 call s:Log('new vcol after tab: '. vcol)
105 let vcol += next_i - i
106 call s:Log('new vcol after other: '. vcol)
111 return vcol
252 let vcol += next_i - i
[all …]
H A Deruby.vim62 let vcol = col('.')
65 call cursor(v:lnum,vcol)
H A Djson.vim96 let vcol = col('.')
156 call cursor(clnum, vcol)
H A Djsonc.vim96 let vcol = col('.')
175 call cursor(v:lnum, vcol)
H A Dliquid.vim48 let vcol = col('.')
H A Djavascript.vim454 let [Wval, vcol] = [s:ParseCino('W'), virtcol('.')]
456 return s:ParseCino('w') ? vcol : virtcol('.')-1
458 return Wval ? s:Nat(num_ind + Wval) : vcol
H A Dtypescript.vim294 let vcol = col('.')
412 call cursor(v:lnum, vcol)
H A Dfalcon.vim371 call cursor(clnum, 0) " FIXME: column was vcol
/vim-8.2.3635/src/proto/
H A Dmouse.pro20 int vcol2col(win_T *wp, linenr_T lnum, int vcol);
H A Dbuffer.pro47 void col_print(char_u *buf, size_t buflen, int col, int vcol);
/vim-8.2.3635/src/testdir/
H A Dtest_quickfix.vim763 …let a=[{'lnum': 308, 'bufnr': bufnr(''), 'col': 58, 'valid': 1, 'vcol': 0, 'nr': 0, 'type': '', 'p…
1011 =Xtestfile=, line 15:10; this is another error, but in vcol 10 this time
3617 let l[3].vcol=1
3623 let l[5].vcol=1
5388 …('Xfile1') , 'col': 0 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
5393 …('Xfile1') , 'col': 0 , 'end_col': 0 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
5398 …('Xfile1') , 'col': 0 , 'end_col': -456 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
5403 …('Xfile1') , 'col': 666 , 'end_col': 0 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
5408 …('Xfile1') , 'col': 666 , 'end_col': -456 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
5413 …('Xfile1') , 'col': 666 , 'end_col': 222 , 'pattern': '' , 'valid': 1 , 'vcol': 0 , 'nr': -1 , 't…
[all …]
H A Dtest_tagjump.vim851 \ 'col': 0, 'end_col': 0, 'pattern': '', 'valid': 1, 'vcol': 0,
858 \ 'valid': 1, 'vcol': 0, 'nr': 0, 'type': '', 'module': '',

12