On Tue, Mar 18, 2003 at 05:56:18PM +0100, Andre Poenitz wrote: > I was asking whether such code exists.
I do not believe it does. > Probably. But replacing it with a single one probably won't work together > with the current cleverness. I don't know what this "cleverness" is. Starting a redraw from a particular y is *not* clever. If there's somewhere that is a postRowPaint() that should be postPaint() under some circumstances, we can find those spots. But that's nothing to do with the repainting the *same* area lots of times. > So the question is "should we remove the cleverness first, face a slow down > but retain LyX in a usable state and keep working from there by removing > multiple redraws" or "should we remove multiple redraws first and fix > problems afterwards". But I do not see any real cleverness, that is my point. The only previous cleverness we have was the background stuff, and I *did* remove that. Perhaps you're referring to insettext/tabular specific code that decides which cells needs updating ? But that's not related to redrawings really, it's more a matter of rebreaking etc. (and it's broken in several circumstances) john
