19/06/2013 15:33, Hashini Senaratne:
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).
Yes, only the visible cursor point is not at the correct place. I can delete
or add characters to where I expect.
Is this blink code is in Cursor.cpp or somewhere related to graphics? I
tried to find it but failed.
I will try to search more and get the help later if I cannot find a clue.
Sorry, look for GuiWorkArea::Private::showCursor() in
src/frontend/qt4/GuiWorkArea.cpp.
The fix should probably in one of the functions used there, there is no
need to expose row sliding to the outside world.
JMarc