Re: breakinsets3: Vertical alignment inside a note inset

Jean-Marc Lasgouttes via lyx-devel <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <[email protected]>
Le 21/04/2026 à 09:04, Scott Kostyshak a écrit :
> I did check the README and am not sure this is known.
> 
> To reproduce, open the attached file.
> 
> The alignment of the "Vertical Space (Big skip)" is flush left. On current master (and 2.5.0) it is centered.

I think this is the same issue as the earlier issue with display math. I 
think I know how to fix it, it should be easy (but next week).

> If you dissolve the note, then it is shown as I expected.
> 
> Bonus: if you dissolve the note, in the terminal I get the following output:
> 
> ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=6  boundary=0
> ParagraphMetrics.cpp (137):  rows_.back()= pit: 0 pos: 0 end: 1 left_margin: 136 width: 627 right_margin: 59 ascent: 104 descent: 214 separator: 0 label_hfill: 0 end_boundary: 0 flushed: 1 rtl=0
> x=136 => 0>>1 INSET: Note:Note, inset=0x64b81546efa0, width=491, row_flags=0

There is a general issue that I broke cursor positioning in the presence 
of display insets. Even a simple "aa\[x+y\]bb" is impossible to navigate 
currently. This will be less easy to fix properly, because this is code 
that I do not understand fully. It worked by chance ;) (what we call 
"tombé en marche" in French)

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.