0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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)
This commit is contained in:
Yegappan Lakshmanan
2022-01-27 13:16:59 +00:00
committed by Bram Moolenaar
parent e939f5ebba
commit b0ad2d92fd
11 changed files with 169 additions and 3 deletions

View File

@@ -2801,8 +2801,9 @@ scroll_redraw(int up, long count)
}
/*
* Get the count specified after a 'z' command. Returns TRUE to process
* the 'z' command and FALSE to skip it.
* Get the count specified after a 'z' command. Only the 'z<CR>', 'zl', 'zh',
* 'z<Left>', and 'z<Right>' commands accept a count after 'z'.
* Returns TRUE to process the 'z' command and FALSE to skip it.
*/
static int
nv_z_get_count(cmdarg_T *cap, int *nchar_arg)