Le 26/06/2013 08:45, Hashini Senaratne a écrit :
Hello Jean-Marc,

* A Cursor is a descendant of CursorData that contains interesting
display-related information, in particular targetX(), the horizontal
position of the cursor in pixels.

I checked targetX() and it only gets changed when the cursor is moving along
a Math equation.
To mention more precisely, when I am typing normal text, targertX() value
changes, when I typing in a Math inset targetX() do not change. But when I
go along a already typed text targetX() do not change and when I go along a
already inserted Math targetX() changes accordingly.
Why is that?
Is not targetX() valid for any Row?
Is there any other attribute that can be used to absolute pixel value where
the cursor lies in.

You can use setTargetX() to force a recomputation. Does this work?

JMarc

Reply via email to