On Sat, Oct 06, 2007 at 06:58:44PM +0300, Martin Vermeer wrote:

> On Sat, Oct 06, 2007 at 03:56:59PM +0200, Abdelrazak Younes wrote:
> >  Martin Vermeer wrote:
> > 
> > > The attached tries to do this. The lower corners will be drawn
> > > also when the cursor is just in front or behind the inset.
> > > Unfortunately this doesn't work right, because of the
> > > way LyX renders stuff: if you move the cursor left or right,
> > > nothing will get re-rendered. When you move out of/into the
> > > inset, re-rendering happens, but when moving from neighbour
> > > to non-neighbour position (or the reverse) nothing happens.
> > > I see no easy solution to this. Abdel?
> > 
> >  We already have a detection mechanism that check for any collapsable inset 
> >  next to the inset (C-i), we just have to do this check any time the 
> > keyboard 
> >  cursor is moved. Then if a "mouse hoverable" inset is detected close by, 
> >  trigger the mouse hover rendering.
>  
> OK, I'll try figure it out.

I have to say that I hate all of this because you can't say whether
you are or not in the inset. Right now there's a bug with math insets
whose corners remain visible even when the cursor is outside of them,
such that when I want to append something at the end of the math inset
invariably I end up writing outside of it. Grrr...

-- 
Enrico

Reply via email to