Hi Bram, 2019-12-7(Sat) 4:18:14 UTC+9 Bram Moolenaar: > > > Hirohito Higashi wrote: > > > I found an infopopup behavior that interfered with the display of the > > current line while completing insert mode. > > > > How to reproduce: > > - Open a terminal of size 80x24. > > - Change directory to your vim/src > > $ cd /path to your/vim/src > > - Run vanilla Vim with some setings. > > $ vim --clean +"set completeopt+=popup completepopup=align:menu" > screen.c > > - Enter insert mode with `O` and type `scr`. > > Oscr > > - Enter Omni completion mode > > <C-X><C-O> > > > > Expected behavior: > > - Current line displayed properly. > > > > Actual behavior: > > - infopopup obstructs the display of the current line. > > See attached image `infopopup_ng.png`. > > > > > > Remarks: > > - When change the terminal size to 150x24 etc., the current line will be > > displayed correctly. > > See attached image `infopopup_ok.png`. > > > > I think the current line should be displayed under any circumstances. > > And I think it would be better if Vim could inform me that infopopup is > not > > displayed correctly by last line etc. > > This is a tricky situation, the info popup just doesn't fit. > I'll make it hidden now, that is when the maximum width becomes less > than 10 characters. > > It might be possible to display the popup elsewhere, but it's not easy > to decide where it would go. On top of the menu perhaps? But then only > if it's not hiding something there, which cannot really be decided > automatically. >
Thank you for fixing this quickly! -- Best regards, Hirohito Higashi (h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/8bd35188-bce8-45a5-bc25-b481d6cfe40e%40googlegroups.com.
