Am Sonntag, dem 02.11.2025 um 22:19 +0100 schrieb Jean-Marc Lasgouttes: > > I don't know whether this fixes anything, but I would code this > > function as in the attached patch. > > I do not think that it fixes anything, but it looks better indeed.
One difference that matters is that it checks for Paragraph::id(), which is unique, whereas the existing implementation checks for cur.pit(), which isn't. So things could have gone wrong if we compare paragraphs in different text insets, or am I wrong? -- Jürgen -- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
