Advanced find does not search in deactivated branches
Kornel Benko
kornel at lyx.org
Sat Apr 30 08:42:24 UTC 2022
Am Sat, 30 Apr 2022 10:13:09 +0200
schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> Am Freitag, dem 29.04.2022 um 19:31 +0200 schrieb Kornel Benko:
> > 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);
>
> Did that, still does not work for me.
>
Apparently the search needs some more description.
Make a testcase:
Document lang = German
Insert 'aaaaaaaaa'
select some 'a' and change its lang to English
Open findadv dialog
insert 'a'
find ...
You will see, that the English 'a' is not found
Open Settings in findadv
check 'Language'
find again
Each 'a' is found
The difference between
1 unchecked 'Ignore formatting'
and
2 checked 'Ignore formatting' _and_ checked all
should be only the search speed. Unchecked 'Ignore formatting' is way faster.
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/20220430/cdc1e3bf/attachment.asc>
More information about the lyx-devel
mailing list