Problem: In command-line completion with a popup menu ('wildoptions'
contains "pum"), the info popup shown next to the menu could
not be scrolled, unlike the Insert mode completion info popup
which scrolls with the mouse wheel.
Solution: When the mouse pointer is on top of the info popup, scroll it
with the mouse wheel in command-line mode as well, without
closing the completion popup menu.
fixes: #20146
https://github.com/vim/vim/pull/20418
(5 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Hm, does the test depend on the geometry of the vim window / terminal size?
It fails for me consistently in my terminal window, unless I set set columns=81 lines=24:
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index ec92560fa..67785eb79 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -4773,6 +4773,8 @@ endfunc func Test_wildmenu_pum_info_mouse_scroll() CheckFeature quickfix CheckFeature mouse + let [_columns, _lines] = [&columns, &lines] + set columns=81 lines=24 func DictComp(A, L, P) let info = join(map(range(1, 30), '"info line " .. v:val'), "\n") @@ -4816,6 +4818,7 @@ func Test_wildmenu_pum_info_mouse_scroll() delfunc PrepMouse unlet g:fl set wildmenu& wildoptions& completeopt& mouse& + let [&columns, &lines] = [_columns, _lines] endfunc func Test_cmdline_complete_findfunc_dict()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
I have updated the newly added test to use screendumps instead.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()