Le 15/09/13 08:11, Hashini Senaratne a écrit :
Thank you. I tried this. Even it solves above mentioned problem (unwanted sliding when moving from the rightmost position of the math inset to the below row, using right arrow), again it is not working for the mouse pointer selections within the row. However it is good to remove those lines in Cursor.cpp, which I have introduced.
What may happen is that DecorationUpdate redraw is triggerred when moving the mouse. In this case, the rows would be recretated and change value.
A way to avoid that would be to remember the position of the start of the row (a cursor slice pointing at the first character of the row, instead of a pointer to a row. This should be stable when the row is redrawn.
If you do not know how to do that, I'll take a look tomorrow. In the meantime, look at the other problems (tabular inset, targetx...).
JMarc