John Levon wrote: > Possibly but then we're not far away from being back in DEPM land anyway > in terms of complexity (since you have to keep the cursor row stable).
I'm not so sure. I think it's a matter of putting the reference row to the cursor row (instead of the top row) if it's visible, on LyXText::top_y(int) and/or update it on setCursor(). I think it's a sane thing to do in all cases, the cursor row should be the most stable anyway if it's visible, no? > I wonder if I get get some more support for my favoured solution if I > implemented more bits of paragraph-pruning. I think that it reasonably ortonormal. We need the par pruning anyway for all three solution (yours, martin's and mine). Am I right? PS: I'm delaying the mutable/const patch until we decide what to do. There are too many patches in the air for the same files and it's not 'urgent'. Alfredo