On Wed, Aug 20, 2003 at 04:10:59PM +0100, John Levon spake thusly: > > On Wed, Aug 20, 2003 at 12:06:35PM +0300, Martin Vermeer wrote: > > > My question is, is this the right way to approach this? It appears > > This doesn't really look like the proper solution discussed several > times ... there seems a lot of unnecessary code and hacks here (0.2 * > ???) > > > (ideally we should have multi-line inlined insets. But they would be > > non-rectangular, which seems outside the current paradigm (?)) > > ERT has handled multi-line in "inline" mode forever, but not quite like > that. > > > + if (!has_inset && ownerParagraphs().size() == 1 > > + && (workWidth() - width) > 0.2 * workWidth()) > > + // single paragraph, no inset and 'long' row(s) > > hacks like this should not be necessary
Clean it is not ;-) This can be done better, I just didn't have the patience... just compiling something better now... > regards > john > - Martin
pgp00000.pgp
Description: PGP signature