> That's something else.  I don't see the documentation, but it looks like
> it's more like a dialog than a balloon.
It is a popup window just like the vim balloons (actually balloon 
implementation was a good guide) with the difference that it does not close on 
focus lost.

https://files.gitter.im/Valloric/ycmd/2ari/vim-overlay.gif
Here is an another demo from earlier implementation. You can note that I'm 
passing argument to the overlayclose(2) at the end. At that time I was 
considering having multiple popups at the same time and giving them id-s. But I 
postponed that idea till the single overlay is polished enough and there is 
actually need for multiple popups.

A little bit on docs:
Well row/col are self explanatory.
[ list_of_items ] strings to be shown in popup. If only one element is 
specified then vim's existing balloon like popup will show up. If more then one 
strings are specified popup will show one element at a time, but will have 
backward/forward buttons allowing to switch between them.
And the last argument will indicate whether strings in list should be treated 
like pango markup (default value 0). When using markup <, > and & characters 
should be escaped wherever necessary as &lt; &gt; &amp;
Examples:
call overlayshow(10, 10, ['Some doc information'])
call overlayshow(10, 10, ['void foo(int&amp;)', 'void foo(<b>double</b>)'], 1)

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui