Paul Jolly wrote:
> > Sound like restoring the cursor position after drawing some text might > > be missing. Do you have a simple script to show the problem? > > Repro at the end of this message. Couple of things to note: > > * I've had to add redraws in order to reliably draw the popup (compare > popup_beval_example) That should no longer be needed after 8.1.1654. That also fixes the cursor showing up in the wrong place. > * 'help popup_beval()' I think has a slight error; it references > pos.lnum, but this should be pos.row Right, I'll fix that. > To repro in gvim: > > gvim -u repro.vim repro.vim > > Then hover the mouse over any text such that the popup window itself > overlaps some text. Might require some random attempts - I'm not quite > sure what conditions cause this. > > You should see the described behaviour. Thanks for the reproducible example. It mostly works now. I do notice that in the terminal the popup doesn't show on every hover, apparently need to move to the right a bit. In the GUI 'ballloonexpr' is evaluated again even though still within the same word. -- Q: How does a UNIX Guru pick up a girl? A: look; grep; which; eval; nice; uname; talk; date; /// 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/201907082130.x68LUcrD003001%40masaka.moolenaar.net. For more options, visit https://groups.google.com/d/optout.
