Mercurial > vim
annotate src/proto/optionstr.pro @ 28612:352806724e12 v8.2.4830
patch 8.2.4830: possible endless loop if there is unused typahead
Commit: https://github.com/vim/vim/commit/23f106efeb64eadd95adee34144f64526aa5f61f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 26 18:52:22 2022 +0100
patch 8.2.4830: possible endless loop if there is unused typahead
Problem: Possible endless loop if there is unused typahead.
Solution: Only loop when the typeahead changed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Apr 2022 20:00:04 +0200 |
parents | 05b240971884 |
children | d61007cc39b3 |
rev | line source |
---|---|
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* optionstr.c */ |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void didset_string_options(void); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 void trigger_optionsset_string(int opt_idx, int opt_flags, char_u *oldval, char_u *oldval_l, char_u *oldval_g, char_u *newval); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void check_buf_options(buf_T *buf); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void free_string_option(char_u *p); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void clear_string_option(char_u **pp); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void check_string_option(char_u **pp); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void set_string_option_direct(char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void set_string_option_direct_in_win(win_T *wp, char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void set_string_option_direct_in_buf(buf_T *buf, char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 char *set_string_option(int opt_idx, char_u *value, int opt_flags); |
18840
05b240971884
patch 8.1.2407: proto files, dependencies and build instructions outdated
Bram Moolenaar <Bram@vim.org>
parents:
18100
diff
changeset
|
12 char *did_set_string_option(int opt_idx, char_u **varp, int new_value_alloced, char_u *oldval, char *errbuf, int opt_flags, int *value_checked); |
18100
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 int check_ff_value(char_u *p); |
df5778d73320
patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 /* vim: set ft=c : */ |