vim-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 vim/vim#9638)
b0ad2d92fd
This commit is contained in:
zeertzjq
2022-07-25 17:21:55 +08:00
parent d8df9afad6
commit aba3147cb6
3 changed files with 50 additions and 2 deletions

View File

@@ -3485,7 +3485,8 @@ void scroll_redraw(int up, long count)
redraw_later(curwin, VALID);
}
/// Get the count specified after a 'z' command.
/// 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'.
/// @return true to process the 'z' command and false to skip it.
static bool nv_z_get_count(cmdarg_T *cap, int *nchar_arg)
{