Advanced find does not search in deactivated branches

Kornel Benko kornel at lyx.org
Sat Apr 30 09:27:28 UTC 2022


Am Sat, 30 Apr 2022 11:07:19 +0200
schrieb Jürgen Spitzmüller <spitz at lyx.org>:

> Am Samstag, dem 30.04.2022 um 10:42 +0200 schrieb Kornel Benko:
> > 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.  
> 
> I see, this relates to the formatting in the search window, not the
> formatting in the document. How odd. I would have expected:

Yes, the pattern describes what has to be searched for.

> write in the document
> 
> test <bold>test</bold> test
> 
> search for "test" will only find the first and third occurrence unless
> ignore formatting > Font shape is checked.
>
> I have to think about how to name and describe the current behavior in
> a away that users actually understand what it does.
> 

The naming is not very fortunate yet, so please proceed.

	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/22c2b4bc/attachment.asc>


More information about the lyx-devel mailing list