On Mon, Apr 15, 2002 at 03:52:57PM +0200, Juergen Vigna wrote:
> I don't know about that you have to see it. Where do you get the absolute
> postions from?

The absolute positions are cached from the last drawing. That has been the
main source of mathed specific redrawing problems, so I'd be more than
happy to get rid of this cache.

> Anyway you need absolute position only for drawing but then
> you get the x and baseline there so that should be no problem!

Indeed. That's all what is needed.
 
> Well if you want to have the cursor on the right x spot when doing a
> cursor up/down (I'm fixing this at this moment and therefore I've seen
> that mathed does it wrong and InsetText did is also wrong!) then you
> should fix it. If you don't care that the cursor goes to the end of the
> next/previous row on a cursor up/down and can handle all the requests
> coming from the user because of this strange behaviour then let it be ;)

Cursor up/down by "keeping the x part" is used as a kind of fall-back in
mathed when all "clever" method fail. 
 
> Anyway it's just 1 function to fix in which you return the normalized values
> to the outside world. Why would you have to fix this in a lot of functions?

I'll have a look. I thought I would have to change the drawing stuff. But
then, these get the absolute values already, so maybe it's easier to fix
than I thought.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to