On Tue, Jul 22, 2003 at 04:57:49PM +0200, Andre Poenitz wrote:

> Every inset know its max text width: The main text gets it from the
> workarea, the first minipage from the main text etc.

Yes sure but it's not that simple, (x position), especially if we want
to remove the newline hacks and make insetnewline naturally take up the
rest of the row, as any decent layout engine would.

> > Ouch. Are you serious ??
> 
> Sure. Of course LyXText::metrics() would need to be a bit more clever
> and not re-do stuff that won't be drawn.

Then it won't look much like the current metrics() :)

That cleverness is going to be fun to hack I suspect. Bearing in mind
you must keep the scrollbar accurate.

john

Reply via email to