On 20 October 2014, toothpik <[email protected]> wrote:
> On Tue, Oct 21, 2014 at 12:29:54AM +0300, LCD 47 wrote:
> > On 20 October 2014, Christian Brabandt <[email protected]> wrote:
> > > On Fr, 17 Okt 2014, LCD 47 wrote:
> > > > Namely, compare the effect of:
> > > >
> > > >         set beval bexpr=['foo']
> > > >
> > > > to the effect of:
> > > >
> > > >         set beval bexpr='foo'
> > > >
> > > >     This happens because general_beval_cb() in gui_beval.c calls
> > > > eval_to_string() to evaluate 'balloonexpr', and that function
> > > > adds the trailing "\n".  I don't see any non-intrusive fix to
> > > > this.
> > >
> > > I only have a "relative old" version of 7.4 for Windows to check,
> > > but there I didn't see a difference between
> > > :set beval bexpr=['foo']
> > > and
> > > :set beval bexpr='foo'
> > >
> > > Perhaps someone else with a more recent version can verify?
>
> >    eval_to_string() has changed in 7.3.272 to add a trailing
> > newline, all other relevant pieces are essentially unchanged.  If
> > you don't see any difference it might be because whatever it is
> > on your Windows that is used to display tooltips doesn't support
> > multiline balloons.  The problem is definitely reproducible on UNIX;
> > I'd post a snapshot, but I'm not sure how to take one that includes
> > the balloons.
>
> if you're using KDE, the Print Screen button is wired to ksnapshot --
> get a balloon to show, then hit Print Screen and use ksnapshot to get
> a pic of the area that's relevant, hit Save As, and you know what to
> do from there

    You're missing the point.  The problem is not how to trigger the
snapshot while keeping the balloon displayed; there are many ways to
do that.  The problem is on my machine tooltips seem to be displayed
using overlays; meaning, the snapshot will include the background of the
balloon, but not the text. :) For reference, here's the result:

https://www.dropbox.com/s/68dc67ewkgjuuyk/2014-10-21-002025_1828x1093.png?dl=0

    /lcd

-- 
-- 
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