annotate src/proto/option.pro @ 6903:dd923806ae3b v7.4.771

patch 7.4.771 Problem: Search does not handle multi-byte character at the start position correctly. Solution: Take byte size of character into account. (Yukihiro Nakadaira)
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Jul 2015 14:43:35 +0200
parents 54194bd6ed60
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* option.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
2 void set_init_1 __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
3 void set_string_default __ARGS((char *name, char_u *val));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
4 void set_number_default __ARGS((char *name, long val));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
5 void free_all_options __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
6 void set_init_2 __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
7 void set_init_3 __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
8 void set_helplang_default __ARGS((char_u *lang));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
9 void init_gui_options __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
10 void set_title_defaults __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
11 int do_set __ARGS((char_u *arg, int opt_flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
12 void set_options_bin __ARGS((int oldval, int newval, int opt_flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
13 int get_viminfo_parameter __ARGS((int type));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
14 char_u *find_viminfo_parameter __ARGS((int type));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
15 void check_options __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
16 void check_buf_options __ARGS((buf_T *buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
17 void free_string_option __ARGS((char_u *p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
18 void clear_string_option __ARGS((char_u **pp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
19 void set_term_option_alloced __ARGS((char_u **p));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
20 int was_set_insecurely __ARGS((char_u *opt, int opt_flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
21 void set_string_option_direct __ARGS((char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid));
2314
233eb4412f5d Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents: 1941
diff changeset
22 char_u *check_colorcolumn __ARGS((win_T *wp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
23 char_u *check_stl_option __ARGS((char_u *s));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
24 int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags));
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
25 int get_option_value_strict __ARGS((char_u *name, long *numval, char_u **stringval, int opt_type, void *from));
5610
2ace11abcfb5 updated for version 7.4.152
Bram Moolenaar <bram@vim.org>
parents: 5438
diff changeset
26 char_u *option_iter_next __ARGS((void **option, int opt_type));
4513
cadb57fbb781 updated for version 7.3.1004
Bram Moolenaar <bram@vim.org>
parents: 4350
diff changeset
27 char_u *set_option_value __ARGS((char_u *name, long number, char_u *string, int opt_flags));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
28 char_u *get_term_code __ARGS((char_u *tname));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
29 char_u *get_highlight_default __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
30 char_u *get_encoding_default __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
31 int makeset __ARGS((FILE *fd, int opt_flags, int local_only));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
32 int makefoldset __ARGS((FILE *fd));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
33 void clear_termoptions __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
34 void free_termoptions __ARGS((void));
1941
d92358c7d621 updated for version 7.2-238
vimboss
parents: 1811
diff changeset
35 void free_one_termoption __ARGS((char_u *var));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
36 void set_term_defaults __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
37 void comp_col __ARGS((void));
4350
7eaccdaa5304 updated for version 7.3.924
Bram Moolenaar <bram@vim.org>
parents: 4029
diff changeset
38 void unset_global_local_option __ARGS((char_u *name, void *from));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
39 char_u *get_equalprg __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
40 void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
41 void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
42 void check_win_options __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
43 void clear_winopt __ARGS((winopt_T *wop));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
44 void buf_copy_options __ARGS((buf_T *buf, int flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
45 void reset_modifiable __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
46 void set_iminsert_global __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
47 void set_imsearch_global __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
48 void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
49 int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
50 int ExpandOldSetting __ARGS((int *num_file, char_u ***file));
1811
d88bdbabfbc6 updated for version 7.2-109
vimboss
parents: 1121
diff changeset
51 int langmap_adjust_mb __ARGS((int c));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
52 int has_format_option __ARGS((int x));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
53 int shortmess __ARGS((int x));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
54 void vimrc_found __ARGS((char_u *fname, char_u *envname));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
55 void change_compatible __ARGS((int on));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
56 int option_was_set __ARGS((char_u *name));
3980
aab4b29520e7 updated for version 7.3.745
Bram Moolenaar <bram@vim.org>
parents: 3873
diff changeset
57 void reset_option_was_set __ARGS((char_u *name));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
58 int can_bs __ARGS((int what));
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
59 void save_file_ff __ARGS((buf_T *buf));
2685
862d920800b1 updated for version 7.3.103
Bram Moolenaar <bram@vim.org>
parents: 2314
diff changeset
60 int file_ff_differs __ARGS((buf_T *buf, int ignore_empty));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 825
diff changeset
61 int check_ff_value __ARGS((char_u *p));
5438
878ed73c7070 updated for version 7.4.069
Bram Moolenaar <bram@vim.org>
parents: 4513
diff changeset
62 long get_sw_value __ARGS((buf_T *buf));
3873
fd96b3cc88ed updated for version 7.3.693
Bram Moolenaar <bram@vim.org>
parents: 3740
diff changeset
63 long get_sts_value __ARGS((void));
4029
d179a8eff9d7 updated for version 7.3.769
Bram Moolenaar <bram@vim.org>
parents: 3980
diff changeset
64 void find_mps_values __ARGS((int *initc, int *findc, int *backwards, int switchit));
6243
54194bd6ed60 updated for version 7.4.456
Bram Moolenaar <bram@vim.org>
parents: 6162
diff changeset
65 unsigned int get_bkc_value __ARGS((buf_T *buf));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 /* vim: set ft=c : */