Mercurial > vim
comparison src/proto/ex_docmd.pro @ 24719:4ae10e6c3a9c v8.2.2898
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
Commit: https://github.com/vim/vim/commit/3552e742898cd57adaf9b8ce32a9056271eab8d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 29 12:21:58 2021 +0200
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
Problem: QuitPre and ExitPre not triggered when GUI window is closed.
Solution: Call before_quit_autocmds(). (closes https://github.com/vim/vim/issues/8242)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 May 2021 12:30:04 +0200 |
parents | a2e6029d354e |
children | 65f04b6effd5 |
comparison
equal
deleted
inserted
replaced
24718:998269fb087b | 24719:4ae10e6c3a9c |
---|---|
5 int do_cmdline(char_u *cmdline, char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie, int flags); | 5 int do_cmdline(char_u *cmdline, char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie, int flags); |
6 int getline_equal(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie, char_u *(*func)(int, void *, int, getline_opt_T)); | 6 int getline_equal(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie, char_u *(*func)(int, void *, int, getline_opt_T)); |
7 void *getline_cookie(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); | 7 void *getline_cookie(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); |
8 char_u *getline_peek(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); | 8 char_u *getline_peek(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie); |
9 char *ex_errmsg(char *msg, char_u *arg); | 9 char *ex_errmsg(char *msg, char_u *arg); |
10 int checkforcmd(char_u **pp, char *cmd, int len); | |
10 int parse_command_modifiers(exarg_T *eap, char **errormsg, cmdmod_T *cmod, int skip_only); | 11 int parse_command_modifiers(exarg_T *eap, char **errormsg, cmdmod_T *cmod, int skip_only); |
11 int has_cmdmod(cmdmod_T *cmod); | 12 int has_cmdmod(cmdmod_T *cmod); |
12 int cmdmod_error(void); | 13 int cmdmod_error(void); |
13 void apply_cmdmod(cmdmod_T *cmod); | 14 void apply_cmdmod(cmdmod_T *cmod); |
14 void undo_cmdmod(cmdmod_T *cmod); | 15 void undo_cmdmod(cmdmod_T *cmod); |
15 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); | 16 int parse_cmd_address(exarg_T *eap, char **errormsg, int silent); |
16 int checkforcmd(char_u **pp, char *cmd, int len); | |
17 char_u *skip_option_env_lead(char_u *start); | 17 char_u *skip_option_env_lead(char_u *start); |
18 char_u *find_ex_command(exarg_T *eap, int *full, int (*lookup)(char_u *, size_t, int cmd, cctx_T *), cctx_T *cctx); | 18 char_u *find_ex_command(exarg_T *eap, int *full, int (*lookup)(char_u *, size_t, int cmd, cctx_T *), cctx_T *cctx); |
19 int modifier_len(char_u *cmd); | 19 int modifier_len(char_u *cmd); |
20 int cmd_exists(char_u *name); | 20 int cmd_exists(char_u *name); |
21 void f_fullcommand(typval_T *argvars, typval_T *rettv); | 21 void f_fullcommand(typval_T *argvars, typval_T *rettv); |
31 int ends_excmd2(char_u *cmd_start, char_u *cmd); | 31 int ends_excmd2(char_u *cmd_start, char_u *cmd); |
32 char_u *find_nextcmd(char_u *p); | 32 char_u *find_nextcmd(char_u *p); |
33 char_u *check_nextcmd(char_u *p); | 33 char_u *check_nextcmd(char_u *p); |
34 char_u *get_command_name(expand_T *xp, int idx); | 34 char_u *get_command_name(expand_T *xp, int idx); |
35 void not_exiting(void); | 35 void not_exiting(void); |
36 int before_quit_autocmds(win_T *wp, int quit_all, int forceit); | |
36 void ex_quit(exarg_T *eap); | 37 void ex_quit(exarg_T *eap); |
37 void tabpage_close(int forceit); | 38 void tabpage_close(int forceit); |
38 void tabpage_close_other(tabpage_T *tp, int forceit); | 39 void tabpage_close_other(tabpage_T *tp, int forceit); |
39 void handle_drop(int filec, char_u **filev, int split, void (*callback)(void *), void *cookie); | 40 void handle_drop(int filec, char_u **filev, int split, void (*callback)(void *), void *cookie); |
40 void handle_any_postponed_drop(void); | 41 void handle_any_postponed_drop(void); |