Mercurial > vim
comparison src/proto/buffer.pro @ 31018:9716c7d24c12 v9.0.0844
patch 9.0.0844: handling 'statusline' errors is spread out
Commit: https://github.com/vim/vim/commit/7b224fdf4a29f115567d4fc8629c1cef92d8444a
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Mon Nov 7 12:16:51 2022 +0000
patch 9.0.0844: handling 'statusline' errors is spread out
Problem: Handling 'statusline' errors is spread out.
Solution: Pass the option name to the lower levels so the option can be
reset there when an error is encountered. (Luuk van Baal,
closes #11467)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Nov 2022 13:30:04 +0100 |
parents | f103da6ba95f |
children |
comparison
equal
deleted
inserted
replaced
31017:99a1b64051b5 | 31018:9716c7d24c12 |
---|---|
1 /* buffer.c */ | 1 /* buffer.c */ |
2 int get_highest_fnum(void); | 2 int get_highest_fnum(void); |
3 void buffer_ensure_loaded(buf_T *buf); | 3 void buffer_ensure_loaded(buf_T *buf); |
4 int open_buffer(int read_stdin, exarg_T *eap, int flags); | 4 int open_buffer(int read_stdin, exarg_T *eap, int flags_arg); |
5 void set_bufref(bufref_T *bufref, buf_T *buf); | 5 void set_bufref(bufref_T *bufref, buf_T *buf); |
6 int bufref_valid(bufref_T *bufref); | 6 int bufref_valid(bufref_T *bufref); |
7 int buf_valid(buf_T *buf); | 7 int buf_valid(buf_T *buf); |
8 int close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort); | 8 int close_buffer(win_T *win, buf_T *buf, int action, int abort_if_last, int ignore_abort); |
9 void buf_clear_file(buf_T *buf); | 9 void buf_clear_file(buf_T *buf); |
46 void fileinfo(int fullname, int shorthelp, int dont_truncate); | 46 void fileinfo(int fullname, int shorthelp, int dont_truncate); |
47 void col_print(char_u *buf, size_t buflen, int col, int vcol); | 47 void col_print(char_u *buf, size_t buflen, int col, int vcol); |
48 void maketitle(void); | 48 void maketitle(void); |
49 void resettitle(void); | 49 void resettitle(void); |
50 void free_titles(void); | 50 void free_titles(void); |
51 int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, stl_hlrec_T **hltab, stl_hlrec_T **tabtab); | 51 int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, char_u *opt_name, int opt_scope, int fillchar, int maxwidth, stl_hlrec_T **hltab, stl_hlrec_T **tabtab); |
52 void get_rel_pos(win_T *wp, char_u *buf, int buflen); | 52 void get_rel_pos(win_T *wp, char_u *buf, int buflen); |
53 char_u *fix_fname(char_u *fname); | 53 char_u *fix_fname(char_u *fname); |
54 void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname); | 54 void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname); |
55 void ex_buffer_all(exarg_T *eap); | 55 void ex_buffer_all(exarg_T *eap); |
56 void do_modelines(int flags); | 56 void do_modelines(int flags); |