Only elide label of hyperlink inset if target and not name given

Pavel Sanda sanda at lyx.org
Mon Mar 23 17:23:55 UTC 2020


On Mon, Mar 23, 2020 at 06:18:07PM +0100, Kornel Benko wrote:
> schrieb Pavel Sanda <sanda at lyx.org>:
> > On Mon, Mar 23, 2020 at 05:43:50PM +0100, Kornel Benko wrote:
> > > I see, unfortunately InsetHyperlink::screenLabel() does not know about buffer.  
> > 
> > Anything descending from Inset has access to buffer_. However it's not clear to
> > me why you want that if you are dealing with window view.
> 
> I meant bv :( probably.

Likely that answers your initial proposal, you can have two different views on the
same inset so there is no single choice of the width.

Pavel


More information about the lyx-devel mailing list