]> git.lyx.org Git - lyx.git/commit
FindAdv: If possible use unicode instead of math command when searching
authorKornel Benko <kornel@lyx.org>
Sun, 20 Mar 2022 10:33:12 +0000 (11:33 +0100)
committerKornel Benko <kornel@lyx.org>
Sun, 20 Mar 2022 10:33:12 +0000 (11:33 +0100)
commite6d998d33cea38fc917f7e604d8b6d6071070a34
treee9d2d73458d85cfbe77769cf75a92f60b65eb368
parent32de59d84a066f0a00f4a80fc9377e9d45ccea2c
FindAdv: If possible use unicode instead of math command when searching

Wrong behaviour before this commit:
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 was mapped to 0x025c
src/lyxfind.cpp
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathNest.cpp
src/mathed/MathExtern.cpp
src/mathed/MathStream.h