Mercurial > vim
view src/proto/autocmd.pro @ 27400:722db0819111 v8.2.4228
patch 8.2.4228: no tests for clicking in the GUI tabline
Commit: https://github.com/vim/vim/commit/b0ad2d92fd19e673ddbbc66742bae3f71778efde
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Thu Jan 27 13:16:59 2022 +0000
patch 8.2.4228: no tests for clicking in the GUI tabline
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 27 Jan 2022 14:30:04 +0100 |
parents | 16a7d1154be8 |
children | e466fdbe0699 |
line wrap: on
line source
/* autocmd.c */ void aubuflocal_remove(buf_T *buf); int au_has_group(char_u *name); void do_augroup(char_u *arg, int del_group); void free_all_autocmds(void); int check_ei(void); char_u *au_event_disable(char *what); void au_event_restore(char_u *old_ei); void do_autocmd(exarg_T *eap, char_u *arg_in, int forceit); int do_doautocmd(char_u *arg, int do_msg, int *did_something); void ex_doautoall(exarg_T *eap); int check_nomodeline(char_u **argp); void aucmd_prepbuf(aco_save_T *aco, buf_T *buf); void aucmd_restbuf(aco_save_T *aco); int apply_autocmds(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf); int apply_autocmds_exarg(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, exarg_T *eap); int apply_autocmds_retval(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval); int trigger_cursorhold(void); int has_cursormoved(void); int has_cursormovedI(void); int has_textchanged(void); int has_textchangedI(void); int has_textchangedP(void); int has_insertcharpre(void); int has_cmdundefined(void); int has_textyankpost(void); int has_completechanged(void); int has_modechanged(void); void block_autocmds(void); void unblock_autocmds(void); int is_autocmd_blocked(void); char_u *getnextac(int c, void *cookie, int indent, getline_opt_T options); int has_autocmd(event_T event, char_u *sfname, buf_T *buf); char_u *get_augroup_name(expand_T *xp, int idx); char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd); char_u *get_event_name(expand_T *xp, int idx); int autocmd_supported(char_u *name); int au_exists(char_u *arg); /* vim: set ft=c : */