>>>>> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes:

Richard> Here's another idea. Basically, what I've done is added an
Richard> optional "setFont" argument to editXY, so we can call it with
Richard> setFont = false during mere mouse movements and still take
Richard> advantage of its recursion without messing up the font.
Richard> setFont then has to be carried through the whole editXY
Richard> hierarchy. This seems like of silly, but it's probably just a
Richard> consequence of what Abdel suggested earlier: that editXY and
Richard> checkInsetHit may need re-factoring. editXY is doing two very
Richard> different things.

Richard> Anyway, it can be made pretty later. The behavior ought to be
Richard> the same as before the previous patch. But I'm not entirely
Richard> sure I understand what behavior is wanted here. The insets
Richard> look very different from how they looked in the 1.4.x series.

I did not closely follow this bug hinting frenzy, but are you sure
that what is missing is not just a LyXText::setCurrentFont(LCursor &
cur) at the right place? I do not see why there would be a need to
change fonts on a cursor move. Acually, I suspect that a
setCurrentFont call smewhere deep inside has been removed and it shows
all over the place.

JMarc

Reply via email to