Martin Vermeer wrote: > That's part of the story. Another part is that a long long time ago, I > tried to implement a thing called Update::SinglePar. The idea was that, as > long as a paragraph's metrics don't change, you can type into it and _only > it_ will be updated.
Ok. Note that I was referring only to the fact that short paragraphs seemed to be faster, even if the same amout of text was onscreen. But I agree with you in that clean self-contained optimizations are the way out. > That's the theory. Unfortunately, what is in CVS doesn't actually do this. > Still the whole screen gets updated, always, with rebreaking for every > paragraph. The singlepar code in metrics isn't actually used. My bad. Ah ok. > I tried the following modification, to make this stuff (1) work, and (2) > work correctly as intended: > Sounds reasonable? Please test. Is it faster, or is it my imagination? I'll get around to test it eventually ;-) Lately I'm slooooower than the qt frontend. Alfredo