comparison src/proto/option.pro @ 18679:fd95d4dbeb37 v8.1.2331

patch 8.1.2331: the option.c file is still very big Commit: https://github.com/vim/vim/commit/7bae0b1bc84a95d565ffab38cf7f82ad21c656b6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 21 22:14:18 2019 +0100 patch 8.1.2331: the option.c file is still very big Problem: The option.c file is still very big. Solution: Move a few functions to where they fit better. (Yegappan Lakshmanan, closes #4895)
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Nov 2019 22:15:03 +0100
parents f249b44039e0
children 69f0e9b5c107
comparison
equal deleted inserted replaced
18678:cb4a4b71df4a 18679:fd95d4dbeb37
5 void set_local_options_default(win_T *wp, int do_buffer); 5 void set_local_options_default(win_T *wp, int do_buffer);
6 void free_all_options(void); 6 void free_all_options(void);
7 void set_init_2(void); 7 void set_init_2(void);
8 void set_init_3(void); 8 void set_init_3(void);
9 void set_helplang_default(char_u *lang); 9 void set_helplang_default(char_u *lang);
10 void init_gui_options(void);
11 void set_title_defaults(void); 10 void set_title_defaults(void);
12 int do_set(char_u *arg, int opt_flags); 11 int do_set(char_u *arg, int opt_flags);
13 void did_set_option(int opt_idx, int opt_flags, int new_value, int value_checked); 12 void did_set_option(int opt_idx, int opt_flags, int new_value, int value_checked);
14 int string_to_key(char_u *arg, int multi_byte); 13 int string_to_key(char_u *arg, int multi_byte);
15 char *check_cedit(void);
16 void did_set_title(void); 14 void did_set_title(void);
17 void set_options_bin(int oldval, int newval, int opt_flags); 15 void set_options_bin(int oldval, int newval, int opt_flags);
18 void check_options(void); 16 void check_options(void);
19 int get_term_opt_idx(char_u **p); 17 int get_term_opt_idx(char_u **p);
20 int set_term_option_alloced(char_u **p); 18 int set_term_option_alloced(char_u **p);
21 int was_set_insecurely(char_u *opt, int opt_flags); 19 int was_set_insecurely(char_u *opt, int opt_flags);
22 void redraw_titles(void); 20 void redraw_titles(void);
23 int valid_name(char_u *val, char *allowed); 21 int valid_name(char_u *val, char *allowed);
24 char *check_clipboard_option(void);
25 void set_option_sctx_idx(int opt_idx, int opt_flags, sctx_T script_ctx); 22 void set_option_sctx_idx(int opt_idx, int opt_flags, sctx_T script_ctx);
26 void set_term_option_sctx_idx(char *name, int opt_idx); 23 void set_term_option_sctx_idx(char *name, int opt_idx);
27 void check_redraw(long_u flags); 24 void check_redraw(long_u flags);
28 int findoption(char_u *arg); 25 int findoption(char_u *arg);
29 int get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags); 26 int get_option_value(char_u *name, long *numval, char_u **stringval, int opt_flags);
69 void vimrc_found(char_u *fname, char_u *envname); 66 void vimrc_found(char_u *fname, char_u *envname);
70 void change_compatible(int on); 67 void change_compatible(int on);
71 int option_was_set(char_u *name); 68 int option_was_set(char_u *name);
72 int reset_option_was_set(char_u *name); 69 int reset_option_was_set(char_u *name);
73 void fill_breakat_flags(void); 70 void fill_breakat_flags(void);
74 int check_opt_wim(void);
75 int can_bs(int what); 71 int can_bs(int what);
76 void save_file_ff(buf_T *buf);
77 int file_ff_differs(buf_T *buf, int ignore_empty);
78 long get_scrolloff_value(void); 72 long get_scrolloff_value(void);
79 long get_sidescrolloff_value(void); 73 long get_sidescrolloff_value(void);
80 void find_mps_values(int *initc, int *findc, int *backwards, int switchit);
81 int briopt_check(win_T *wp);
82 unsigned int get_bkc_value(buf_T *buf); 74 unsigned int get_bkc_value(buf_T *buf);
83 char_u *get_showbreak_value(win_T *win); 75 char_u *get_showbreak_value(win_T *win);
84 dict_T *get_winbuf_options(int bufopt); 76 dict_T *get_winbuf_options(int bufopt);
85 int fill_culopt_flags(char_u *val, win_T *wp); 77 int fill_culopt_flags(char_u *val, win_T *wp);
86 /* vim: set ft=c : */ 78 /* vim: set ft=c : */