Mercurial > vim
annotate src/proto/evalfunc.pro @ 29421:61796d98c856 v9.0.0052
patch 9.0.0052: "zG" may throw an error if invalid character follows
Commit: https://github.com/vim/vim/commit/2ebcc35826bc2deb04e5fc6d73332f55783e7f52
Author: K.Takata <kentkt@csc.jp>
Date: Thu Jul 14 17:25:14 2022 +0100
patch 9.0.0052: "zG" may throw an error if invalid character follows
Problem: "zG" may throw an error if invalid character follows.
Solution: Pass the word length to valid_spell_word(). (Ken Takata,
closes #10737)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 14 Jul 2022 18:30:04 +0200 |
parents | 7fd3a9f05037 |
children | 72e6073a2822 |
rev | line source |
---|---|
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 /* evalfunc.c */ |
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 char_u *get_function_name(expand_T *xp, int idx); |
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 char_u *get_expr_name(expand_T *xp, int idx); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
4 int find_internal_func(char_u *name); |
17612
e259d11e2900
patch 8.1.1803: all builtin functions are global
Bram Moolenaar <Bram@vim.org>
parents:
17472
diff
changeset
|
5 int has_internal_func(char_u *name); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
6 char *internal_func_name(int idx); |
26935
ccb9be1cdd71
patch 8.2.3996: Vim9: type checking lacks information about declared type
Bram Moolenaar <Bram@vim.org>
parents:
25527
diff
changeset
|
7 int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx); |
25126
b825efff9790
patch 8.2.3100: Vim9: no error when using type with unknown number of args
Bram Moolenaar <Bram@vim.org>
parents:
24770
diff
changeset
|
8 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount); |
27503
4cea92e99a5a
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Bram Moolenaar <Bram@vim.org>
parents:
27490
diff
changeset
|
9 type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type); |
23565
34aa2907082a
patch 8.2.2325: Vim9: crash if map() changes the item type
Bram Moolenaar <Bram@vim.org>
parents:
22842
diff
changeset
|
10 int internal_func_is_map(int idx); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
11 int check_internal_func(int idx, int argcount); |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
13 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); |
17612
e259d11e2900
patch 8.1.1803: all builtin functions are global
Bram Moolenaar <Bram@vim.org>
parents:
17472
diff
changeset
|
14 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); |
18104
e59ff7b5d7a7
patch 8.1.2047: cannot check the current state
Bram Moolenaar <Bram@vim.org>
parents:
18010
diff
changeset
|
15 int non_zero_arg(typval_T *argvars); |
16638
4790302965fc
patch 8.1.1321: no docs or tests for listener functions
Bram Moolenaar <Bram@vim.org>
parents:
15355
diff
changeset
|
16 buf_T *get_buf_arg(typval_T *arg); |
17472
dfd87ef822aa
patch 8.1.1734: the evalfunc.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
17218
diff
changeset
|
17 win_T *get_optional_window(typval_T *argvars, int idx); |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 void execute_redir_str(char_u *value, int value_len); |
25527
d5e9c05b4811
patch 8.2.3300: Lua: can only execute on Vim command at a time
Bram Moolenaar <Bram@vim.org>
parents:
25479
diff
changeset
|
19 void execute_cmds_from_string(char_u *str); |
28775
7fd3a9f05037
patch 8.2.4912: using execute() to define a lambda doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
28287
diff
changeset
|
20 char_u *get_list_line(int c, void *cookie, int indent, getline_opt_T options); |
18010
cf8e0c7e0cb9
patch 8.1.2001: some source files are too big
Bram Moolenaar <Bram@vim.org>
parents:
17986
diff
changeset
|
21 void execute_common(typval_T *argvars, typval_T *rettv, int arg_off); |
25479
fbdfa533001c
patch 8.2.3276: Vim9: exists() can only be evaluated at runtime
Bram Moolenaar <Bram@vim.org>
parents:
25206
diff
changeset
|
22 void f_exists(typval_T *argvars, typval_T *rettv); |
19253
a8d2d3c8f0b3
patch 8.2.0185: Vim9 script: cannot use "if has()" to skip lines
Bram Moolenaar <Bram@vim.org>
parents:
19181
diff
changeset
|
23 void f_has(typval_T *argvars, typval_T *rettv); |
28775
7fd3a9f05037
patch 8.2.4912: using execute() to define a lambda doesn't work
Bram Moolenaar <Bram@vim.org>
parents:
28287
diff
changeset
|
24 int dynamic_feature(char_u *feature); |
28287
dc68c111cf7a
patch 8.2.4669: in compiled code len('string') is not inlined
Bram Moolenaar <Bram@vim.org>
parents:
27503
diff
changeset
|
25 void f_len(typval_T *argvars, typval_T *rettv); |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
26 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
18104
diff
changeset
|
27 void range_list_materialize(list_T *list); |
12722
7749260f261c
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
Christian Brabandt <cb@256bit.org>
parents:
11846
diff
changeset
|
28 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, typval_T *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); |
9571
5eaa708ab50d
commit https://github.com/vim/vim/commit/73dad1e64cb42842d8259cb1a255a6fa59822f76
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
29 /* vim: set ft=c : */ |