Re: breakinsets3 branch: assertion

Jean-Marc Lasgouttes <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Le 05/04/2026 à 22:38, Richard Kimberly Heck a écrit :
> On 4/5/26 11:16 AM, Scott Kostyshak wrote:
>> Thanks for your continued work on this! It is quite an exciting 
>> feature in my opinion.
> 
> Let me just add my appreciation on this score. The way insets are 
> handled now is one of those things that makes LyX look a bit amateurish. 
> It's usable, but very noticeable.
> 
> By the way: Will this behavior be configurable via layout? It seems to 
> me that some insets, like footnotes, might actually be better with the 
> existing behavior. But if it's all one way or all the other, I'll take 
> the new say for sure.

Short term goal is to have conglomerate decoration handled. My plan is 
to merge to master at this time.

The main remaining difficulty is the display of sublabel: is the inset 
is cut, then there may not be enough space to display the sublabel. And 
it is not possible currently to reserve this space. I think that my 
first version will simply cut the label on screen.

Longer-term goals :
- make it configurable via layout file (trivial)
- make it work with command insets (doable, some insets will need to 
start using unbreakable spaces in there labels in some places)
- make it work for all collapsible insets with only one paragraph (I 
guess we all agree to rule out insets with several paragraphs): this 
adds extra difficulty because the drawing of a row will depend of how 
previous and next row should be drawn. Currently, the system is limited 
to two methods, drawSideDecoration and drawContentsDecoration.

JMarc
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.