[vim/vim] More improvement (#7317)

34 views
Skip to first unread message

mattn

unread,
Nov 16, 2020, 9:05:44 PM11/16/20
to vim/vim, Subscribed

This change will reduce much of the flicker of popupmenu.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/7317

Commit Summary

  • More improvement

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Bram Moolenaar

unread,
Nov 17, 2020, 3:08:18 PM11/17/20
to vim/vim, Subscribed

Hmm, this means the popup menu is only redraw when it resized. Where is it then redrawn if there was no resize?

Maxim Kim

unread,
Nov 18, 2020, 7:32:43 AM11/18/20
to vim_dev
I am not sure if this is related to the prev patch of @mattn or not, but console vim on windows has some issue with pmenu redraw:


This is YCM plugin with console vim 8.2.2000 (with set nolazyredraw)

mattn

unread,
Nov 18, 2020, 8:55:47 AM11/18/20
to vim/vim, Push

@mattn pushed 1 commit.

  • f24fcb5 Reduce redrawing of popupnenu


You are receiving this because you are subscribed to this thread.

View it on GitHub or unsubscribe.

mattn

unread,
Nov 18, 2020, 8:56:19 AM11/18/20
to vim/vim, Subscribed

Updated patch to reduce redrawing of popupmenu

mattn

unread,
Nov 18, 2020, 8:59:10 AM11/18/20
to vim/vim, Push

@mattn pushed 1 commit.

  • e9b4880 Reduce redrawing of popupnenu


You are receiving this because you are subscribed to this thread.

Bram Moolenaar

unread,
Nov 21, 2020, 6:10:09 AM11/21/20
to vim/vim, Subscribed

This causes tests to fail. Perhaps there should be a call to pum_redraw() after the pum_display() in insexpand.c ?

mattn

unread,
Nov 22, 2020, 8:51:37 AM11/22/20
to vim/vim, Subscribed

The cause of test fail seems to be timed-out and not related on this change.

Bram Moolenaar

unread,
Nov 22, 2020, 11:17:11 AM11/22/20
to vim/vim, Subscribed

It doesn't look like a timeout, e.g. https://travis-ci.org/github/vim/vim/jobs/744424902
On Travis the "huge" tests all fail and the errors are related to the popup menu.

mattn

unread,
Nov 22, 2020, 11:55:00 AM11/22/20
to vim/vim, Subscribed

Closed #7317.

mattn

unread,
Nov 22, 2020, 11:55:00 AM11/22/20
to vim/vim, Subscribed

I'm try this again.

Reply all
Reply to author
Forward
0 new messages