Try to use unicodes instead of latex commands in regexes of findadv
Kornel Benko
kornel at lyx.org
Fri Mar 18 19:37:47 UTC 2022
The problem:
Open new lyx-file
insert
unicode-insert 0x025c 0x1d08
Open adv-find dialog
search for unicode 0x025c OK
search for unicode 0x1d08 OK
search with regex for unicode 0x025c OK
search with regex for unicode 0x1d08 ==> NOT OK (because we are searching for
\textrevepsilon and this is mapped to 0x025c
The patch tries to address the issue so that while searching we try to use the unicode
representation instead of the latex command.
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: UnicodeInsteadLatex.patch
Type: text/x-patch
Size: 2928 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220318/f6d48de9/attachment.bin>
-------------- 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/20220318/f6d48de9/attachment.asc>
More information about the lyx-devel
mailing list