One other small issue I've spotted is that in gvim, when a popup is
used instead of a balloon, the cursor sometimes appears to jump to the
bottom right of the popup window:

https://www.youtube.com/watch?v=TN2iGTlvvxc

The cursor itself hasn't actually moved, because if I move the cursor
via any movement, it's actually in its original place and so the
movement is as expected.


On Sun, 7 Jul 2019 at 22:23, Paul Jolly <[email protected]> wrote:
>
> > > One small thing I noticed is that the popup window "balloon" is shown
> > > botleft (see problem_1.png, attached). Is this intentional?
> >
> > Yep, the default is to show the balloon above the text and to the right.
> > This can be changed with the "pos" argument.
> >
> > > I was expecting the "balloon" to appear below and to the right of the
> > > mouse, and hence that popup create option to be topleft?
> >
> > There is no perfect choice.  The help at popup_beval() give a hint on
> > how to pass arguments if you want a different position.
>
> Thanks. My question here was only based on how balloons currently
> work; they are shown below and to the right.
>
> Per your suggestion, I already have a custom popup_create call that is
> positioning things as I expect.
>
> Thanks again for the quick turnaround on this.
>
>
> Paul

-- 
-- 
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/CACoUkn4HZ-LYfej3NcPD4amkPzektLEAzW9bbxvVQ8R%3DPNnUsA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui