19/06/2013 15:11, Hashini Senaratne:
Above problem was able to solve with the use of cur.targetX() and
bv.workWidth() as follows. Now the whole page slides as expected if we move
the cursor along a too wide Math inset. But the cursor gets disappear after
passing the right edge of the screen.
I tried to fix it by using cur.setTargetX(int); but failed. Although the
cursor target can change numerically, it is not changing graphically.

The code that draws the cursor does not know that you have moved the row, so I aimgaine it will be wrong. What I would do maybe is to add a x_offset (or something) variable to the Cursor object that indicates that the row is sliding. Then the cursor-blink code could take this in account (or probably one method that it uses).

JMarc

Reply via email to