Paul Jolly wrote:

> > > One thing i would like is the ability to remove the borders. I’m not a
> > > fan of the borders in general due to the extra screen space they use
> > > (and this the extra code they cover). I can also live without the X in
> > > the corner if the popup goes away with Ctrl-y which I think it does.
> >
> > We could support the full array, like the "border" argument of
> > popup_create().  But I suppose for this info popup just on/off will be
> > sufficient.  And the "border" argument actually doesn't have a value for
> > "off", you would need to use [0,0,0,0].  Thus perhaps it's better to
> > have a "border" argument that can be "on" or "off".
> 
> Could we perhaps allow for a dictionary of options to be specified?

Options only support a string.

> The line and col values could then be used as relative values, which would
> allow for fine tuning of the approach you described in your earlier
> response to me.
> 
> Thinking about it, pos might not have any meaning given it's value will in
> effect be calculated.
> 
> > Thus the popup is close to where the user is typing.  Sound OK?
> 
> I think so, yes.

We can add a popup_getinfo() function, so you can set all the
properties.  But this may have to be done every time the selection
changes.  It might work with the already existing CompleteChanged
autocommand event.  But it's not triggered when only the selected item
changes.

-- 
>From "know your smileys":
 8<}}   Glasses, big nose, beard

 /// 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/201908202114.x7KLEkGJ003161%40masaka.moolenaar.net.

Raspunde prin e-mail lui