On Wed, Aug 20, 2003 at 12:06:35PM +0300, Martin Vermeer wrote: > Here is a patch doing the following things: > > 1) calculates a realistic width for insets containing a single short > line ("row") of text, puts it into the LyXText metrics and displays > the inset at this width; > > 2) experimentally for branch insets, displays such insets (if > uncollapsed) as inlines embedded in the surrounding text. > > My question is, is this the right way to approach this? It appears > this capability has been there all the time (for ERT at least), but > was broken and switched off (disappeared spontaneously?) during > André's paragraph overhaul.
I don't think I broke something in this area - at least not on purpose... > Or am I too early with this? No, time is fine now. > (ideally we should have multi-line inlined insets. But they would be > non-rectangular, which seems outside the current paradigm (?)) I think there is consensus to switch to Asger's "three box model" for paragraphs (i.e. first and third box possibly less than full width, second box full width, additional special case if the whole thing is less than one line all together. With the per-paragraph row lists we are actually in pretty good shape now to tackle this problem. Having non-rectangular paragraphs/insets would not only mean nicer insets in paragraphs but opens also the door for neater label handling. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)