Advanced find does not search in deactivated branches

Kornel Benko kornel at lyx.org
Fri Apr 29 17:31:23 UTC 2022


Am Fri, 29 Apr 2022 17:09:05 +0200
schrieb Jürgen Spitzmüller <spitz at lyx.org>:

> Am Freitag, dem 29.04.2022 um 17:02 +0200 schrieb Kornel Benko:
> > The meaning of 'Ignore formatting' is reversed.
> > 
> > If 'Ignore formatting' is _not_ checked, then all subsequent
> > selections should be enabled.
> > 
> > That is, only in formatted search we can select what is to be ignored
> > or not.  
> 
> Sorry, I cannot follow. But maybe you can take and adapt the patch to
> what you think should be.
> 

Only a small change seems to to be enough (FindAndReplace.cpp:470)

        FindAndReplaceOptions opt(find_buf_name, casesensitive, matchword,
-                                  !backwards, expandmacros, ignoreformat,
+                                  !backwards, expandmacros, !ignoreformat,
                                  repl_buf_name, keep_case, scope, restr);

	Kornel
-- 
lyx-devel mailing list
lyx-devel at lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220429/d4abbc8f/attachment.asc>


More information about the lyx-devel mailing list