Am Wed, 04 Feb 2026 17:34:56 +0000 schrieb rsg1rsg2 via lyx-devel <[email protected]>:
> I have found a bug/misbehavior on Lyx 2.4.4(Flat-pack) and 2.4.3 on Linux > mint 22.1. I > think the bug is cross-platform. > > Bug 1: > The bug relies on the advanced find and replace. Both in math mode and > regular text, > but only when using regular expressions. When searching for an expression, > Exp1, if > that same expression is twice on the same line: > > - when using forward search: it selects/finds the entire text between the > first and > last places where Exp1 can be found. > > - when using backward search: finds correctly all places where Exp1 can be > found + > selects the entire text between each Exp1. > > Al tough it is still possible to use the replace option using the backward > search, it > is useless in the forward search mode since it deletes text. The issue gets > funnier > when Exp1 is 4 times in the same line. > > Bug 1.1: > The behavior is different when using backwards search and forward search. > > Bug 1.2: > It seems that when the Exp1 is in math-mode, it detects the expression twice, > first it > finds correctly the matching expression, then finds/selects the entire > math-mode. > > I might be willing to report the bug on the website, but as claimed it is not > possible > to register there due to spam. Thus i reported here in case it is sufficient. > In any > case I'll be glad to receive a link for registration and specify the bug on > the website > (https://www.lyx.org/trac/wiki/BugTrackerHome) > > I attach a small file to reproduce the bug. > > Thanks for your attention. Yes, searching inside math is not ideal. Using the attached as the search string is slightly better, but still fails if the math expression contains more than one match. Kornel
pgpxVlhkVg676.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-devel
