Hello Jean-Marc,
> I am not sure what you have in mind, but I think that you should not > worry about that. The right place for setting the row offset (or > whatever name you give to it) is when the screen is about to get drawn > (BufferView::draw). It is not necessary to track all the places where > the cursor is set IMO. Thank you both of you (including Scott). But at the moment I am stuck at a point. In my last comment, I wrote a general algorithm. According to that all the rows should slide. But what I am getting is, sliding of a non relevant row. http://git.lyx.org/?p=gsoc.git;a=commitdiff;h=18447e084037ef29b37f8bc938dc84f1a87d255b Could you please review that and try to give me a help? Thank you Hashini