On Mon, 2005-10-03 at 12:16 +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > >> This would mean implementing SingleRow update instead of > >> SinglePar, right? > > Martin> Yes, I think so. How to do it is another matter. I suspect > Martin> that caching row.endpos() internally in lyxtext would be > Martin> enough. > > This would be almost similar to what you do with paragraph dimension > caching. I guess the algorithm could be to redo the rows one by one > (starting from cursor) until we find one that did not change.
Precisely. The place would be in redoParagraph, the do...while loop on z. I wonder if this is enough, or if we should then also look at the rendering side of things. Probably. - Martin
signature.asc
Description: This is a digitally signed message part