Mercurial > vim
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 |
rev | line source |
---|---|
7 | 1 /* option.c */ |
1121 | 2 void set_init_1 __ARGS((void)); |
3 void set_string_default __ARGS((char *name, char_u *val)); | |
4 void set_number_default __ARGS((char *name, long val)); | |
5 void free_all_options __ARGS((void)); | |
6 void set_init_2 __ARGS((void)); | |
7 void set_init_3 __ARGS((void)); | |
8 void set_helplang_default __ARGS((char_u *lang)); | |
9 void init_gui_options __ARGS((void)); | |
10 void set_title_defaults __ARGS((void)); | |
11 int do_set __ARGS((char_u *arg, int opt_flags)); | |
12 void set_options_bin __ARGS((int oldval, int newval, int opt_flags)); | |
13 int get_viminfo_parameter __ARGS((int type)); | |
14 char_u *find_viminfo_parameter __ARGS((int type)); | |
15 void check_options __ARGS((void)); | |
16 void check_buf_options __ARGS((buf_T *buf)); | |
17 void free_string_option __ARGS((char_u *p)); | |
18 void clear_string_option __ARGS((char_u **pp)); | |
19 void set_term_option_alloced __ARGS((char_u **p)); | |
20 int was_set_insecurely __ARGS((char_u *opt, int opt_flags)); | |
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 | 23 char_u *check_stl_option __ARGS((char_u *s)); |
24 int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags)); | |
4350 | 25 int get_option_value_strict __ARGS((char_u *name, long *numval, char_u **stringval, int opt_type, void *from)); |
5610 | 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 | 28 char_u *get_term_code __ARGS((char_u *tname)); |
29 char_u *get_highlight_default __ARGS((void)); | |
30 char_u *get_encoding_default __ARGS((void)); | |
31 int makeset __ARGS((FILE *fd, int opt_flags, int local_only)); | |
32 int makefoldset __ARGS((FILE *fd)); | |
33 void clear_termoptions __ARGS((void)); | |
34 void free_termoptions __ARGS((void)); | |
1941 | 35 void free_one_termoption __ARGS((char_u *var)); |
1121 | 36 void set_term_defaults __ARGS((void)); |
37 void comp_col __ARGS((void)); | |
4350 | 38 void unset_global_local_option __ARGS((char_u *name, void *from)); |
1121 | 39 char_u *get_equalprg __ARGS((void)); |
40 void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to)); | |
41 void copy_winopt __ARGS((winopt_T *from, winopt_T *to)); | |
42 void check_win_options __ARGS((win_T *win)); | |
43 void clear_winopt __ARGS((winopt_T *wop)); | |
44 void buf_copy_options __ARGS((buf_T *buf, int flags)); | |
45 void reset_modifiable __ARGS((void)); | |
46 void set_iminsert_global __ARGS((void)); | |
47 void set_imsearch_global __ARGS((void)); | |
48 void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags)); | |
49 int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file)); | |
50 int ExpandOldSetting __ARGS((int *num_file, char_u ***file)); | |
1811 | 51 int langmap_adjust_mb __ARGS((int c)); |
1121 | 52 int has_format_option __ARGS((int x)); |
53 int shortmess __ARGS((int x)); | |
54 void vimrc_found __ARGS((char_u *fname, char_u *envname)); | |
55 void change_compatible __ARGS((int on)); | |
56 int option_was_set __ARGS((char_u *name)); | |
3980 | 57 void reset_option_was_set __ARGS((char_u *name)); |
1121 | 58 int can_bs __ARGS((int what)); |
59 void save_file_ff __ARGS((buf_T *buf)); | |
2685 | 60 int file_ff_differs __ARGS((buf_T *buf, int ignore_empty)); |
1121 | 61 int check_ff_value __ARGS((char_u *p)); |
5438 | 62 long get_sw_value __ARGS((buf_T *buf)); |
3873 | 63 long get_sts_value __ARGS((void)); |
4029 | 64 void find_mps_values __ARGS((int *initc, int *findc, int *backwards, int switchit)); |
6243 | 65 unsigned int get_bkc_value __ARGS((buf_T *buf)); |
7 | 66 /* vim: set ft=c : */ |