Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jun 04, 2003 at 07:37:06PM +0200, Lars Gullik Bjønnes wrote: | > | I don't understand the rebreaking point. Do you mean breaking a par into | > | two or some re-calculation of which part of a par belongs to which row? | > | If the latter, I think the solution is consequent two-phase drawing with | > | a full rebreak of all visible paragraphs in the metrics phase. | > | > Rebreaking is slow. | | Maybe the way it is currently implemented.
right. | There is no technical reason for it. Adding up the width of some things | (char and insets), keeping track of the last feasible break point and | breaking there when the summed width surpasses some maximum is a nobrainer | and certainly not "slow", given that we are going to draw these things | later. | | > Read my old mail on how to do par by par reabreak, | > called lazy_lyxtext.txt (it is old so it might be bit out of date) | | I had a look at it last night. It is a bit outdated, but the ideas fit | nicely in the two stage drawing system. So a plan could be as follows: Before we do any of this, we should try to get Undo into "perfect" state first. Can you explain what is missing? -- Lgb