findadv: using \w instead of [[:word:]] makes test-case std::regex compatible; also, fixed UI shortcuts changes that made test fail.

This commit is contained in:
Tommaso Cucinotta 2017-04-16 23:43:56 +02:00
parent 664798128a
commit 9824926b4c

View File

@ -14,10 +14,10 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' l
Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: o\Axregexp-mode\[Return][[:word:]]* a
KK: \Ac\Aj
KK: o\Axregexp-mode\[Return][\\w]* a
KK: \Ac\Ac
KD: 500
KK: \[Return]
KK: \Al
KD: 100
TestEnd
Lang C
@ -26,7 +26,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6'
Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: \Axregexp-mode\[Return].* \Ac\Aj\[Return]\[Return]\[Return]
KK: \Axregexp-mode\[Return].* \Ac\Ac\Al\Al\Al
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log3.txt