2010/3/3 Dominique Pellé <[email protected]>: > Hi > > I don't see anything wrong when I execute those steps > with Vim in a terminal (gnome-terminal). > > However, by default, there is no pum and I see... > > -- Omni completion (^O^N^P) Pattern not found > > To see the pum, I first need to build a "tags" file with > for example: > > $ cd vim/src > $ ctags -R --c++-kinds=+p --fields=+iaSn --extra=+q . > $ vim -u NONE -S do.vim > > The pum then shows up fine and pressing <C-n> or <C-p> > also updates the pum correctly here (using regular > Vim-7.2.385 without your patch). > > Can you perhaps give a screenshot of what you saw? > > Having said that, when I try to do it in gvim (GTK2) with... > > $ vim -f -g -u NONE -S do.vim > > .., then I do not see the pum anymore?! In fact, I do > not see the statusline either in gvim. It happens because > my screen is too small to display 76 lines. Commenting > out the line "set lines=76" in "do.vim" or setting a line number > small enough to be fully displayed on screen (such as > "set lines=40") makes it work in gvim too (no pum display > bug). I believe that not seeing the statusline when giving > a high value for "set lines=..." is another bug. Does > anybody else see that too? > > Can you also reproduce the bug with a small value of lines? > (such as "set lines=40")? > > Cheers > -- Dominique >
The smallest value of lines for which I managed to reproduce the bad behaviour is 57, but then the wrong menu image is only 1-line long and is visible below the cursor line. The problem seems to be related to the number of entries in the menu and the size of the window. I made screenshots with lines=76: - after executing the script from my original email: http://pl.tinypic.com/view.php?pic=2q99or7&s=6 - after pressing <C-n> http://pl.tinypic.com/view.php?pic=2ms11sg&s=6 Regarding your question about disappearing status line when the value of 'lines' is too large - yes, I can see the problem. -- Best regards, Lech Lorens -- 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
