Home
last modified time | relevance | path

Searched refs:charcol (Results 1 – 10 of 10) sorted by relevance

/vim-8.2.3635/src/testdir/
H A Dtest_cursor_func.vim253 " Test for the charcol() function
256 call assert_equal(0, charcol(0))
262 call assert_equal(1, charcol('.'))
263 call assert_equal(1, charcol('$'))
265 call assert_equal(7, charcol('.'))
266 call assert_equal(10, charcol('$'))
268 call assert_equal(1, charcol('.'))
269 call assert_equal(2, charcol('$'))
271 call assert_equal(9, charcol('.'))
272 call assert_equal(10, charcol('$'))
[all …]
H A Dtest_vim9_builtin.vim598 …CheckDefAndScriptFailure2(['charcol(10)'], 'E1013: Argument 1: type mismatch, expected string but …
599 …CheckDefAndScriptFailure2(['charcol({a: 10})'], 'E1013: Argument 1: type mismatch, expected string…
600 CheckDefExecAndScriptFailure(['charcol("")'], 'E1209: Invalid value for a line number')
604 assert_equal(4, charcol('.'))
605 assert_equal(9, charcol([1, '$']))
606 assert_equal(0, charcol([10, '$']))
H A Dtest_vim9_expr.vim60 var RetTwo: func(string): number = function('charcol')
/vim-8.2.3635/src/proto/
H A Deval.pro60 pos_T *var2fpos(typval_T *varp, int dollar_lnum, int *fnum, int charcol);
61 int list2fpos(typval_T *arg, pos_T *posp, int *fnump, colnr_T *curswantp, int charcol);
/vim-8.2.3635/src/
H A Deval.c5232 int charcol) // return character column in var2fpos() argument
5254 if (charcol) in var2fpos()
5297 if (charcol) in var2fpos()
5307 if (charcol) in var2fpos()
5316 if (charcol) in var2fpos()
5352 if (charcol) in var2fpos()
5378 int charcol) in list2fpos() argument
5411 if (charcol) in list2fpos()
H A Devalfunc.c2866 get_col(typval_T *argvars, typval_T *rettv, int charcol) in get_col() argument
2876 fp = var2fpos(&argvars[0], FALSE, &fnum, charcol); in get_col()
3025 set_cursorpos(typval_T *argvars, typval_T *rettv, int charcol) in set_cursorpos() argument
3044 if (list2fpos(argvars, &pos, NULL, &curswant, charcol) == FAIL) in set_cursorpos()
3067 if (charcol) in set_cursorpos()
4361 int charcol) in getpos_both() argument
4382 if (fp != NULL && charcol) in getpos_both()
4391 fp = var2fpos(&argvars[0], TRUE, &fnum, charcol); in getpos_both()
/vim-8.2.3635/runtime/syntax/
H A Dvim.vim82 …rgidx assert_equalfile assert_nobeep atan2 browsedir bufname byteidxcomp charcol ch_evalexpr ch_lo…
/vim-8.2.3635/runtime/doc/
H A Dusr_41.txt776 charcol() character number of the cursor or a mark
H A Deval.txt2573 charcol({expr}) Number column number of cursor or mark
3736 charcol({expr}) *charcol()*
3742 charcol('.') returns 3
3839 character position use |charcol()|.
H A Dtags5819 charcol() eval.txt /*charcol()*