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.

-- 
hundred-and-one symptoms of being an internet addict:
201. When somebody asks you where you are, you tell them in which chat room.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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/201912061918.xB6JI4mV026690%40masaka.moolenaar.net.

Raspunde prin e-mail lui