>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:

Alfredo> Jean-Marc Lasgouttes wrote:
>> Where is the relevant code? I guess that real_current_font, which
>> is just a cache is not updated at this point (you get the size of
>> Author paragraph).

Alfredo> LCursor::getDim

>> So you may have to make sure it is updated.

Alfredo> Ah, ok. So we have to add a call to setCurrentFont somewhere.

The situation is better now, but not perfect. Look for example at what
happens when using find/replace or spellcheck. Cursor size is not
updated. I found your remark in the code about moving this font cache
to LCursor interesting... It will only work if the variables are
always used with a cursor around, though.

Navigating in insets seems much better. Thanks.

JMarc

Reply via email to