X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2Ffindadv-16-in.txt;h=60f3ad1766cf40e1d762132d3bf8d8e6bc8e71ab;hb=7a0c8f366d8e8ba1df534c3f5644d789a9c8a6e8;hp=d66aba8a52b5e24a9c5c84a40627185a4be564ce;hpb=0ed7f301ea8a0bb04aea9c4de0bb4c7cb0ef851b;p=lyx.git diff --git a/development/autotests/findadv-16-in.txt b/development/autotests/findadv-16-in.txt index d66aba8a52..60f3ad1766 100644 --- a/development/autotests/findadv-16-in.txt +++ b/development/autotests/findadv-16-in.txt @@ -1,27 +1,37 @@ # Verify matches in *-environments with ignore-format off # (gather environment comes in the *-form after mutate) +UseShortcut "C-F24" "math-mutate gather" +UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;" +PrepareShortcuts # -Lang it_IT.utf8 -TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 -KK: \CM\Axmath-mutate gather\[Return] +Lang sk_SK.utf8 +CO: findadv-16.ctrl +TestBegin test.lyx -dbg key,find > findadv-16.loga.txt 2>&1 +CN: Part 1 +KK: \CM\C\[F24] KK: x^2 +x^2\C\[Home] KK: \Cs KK: \CF # Uncheck ignore format -KK: \Az\Ag\Ae -KK: \CM\Axmath-mutate gather\[Return] +KK: \At\Ar\Ak\Ah +KK: \CF +KK: \CM\C\[F24] KK: x^2\[Return] -TestEnd -Lang C -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt +Cr: ^.*Putting +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 -Lang it_IT.utf8 -TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 -KK: \CF -# Uncheck ignore format -KK: \Az\Ag\Ae -KK: \CM\Axmath-mutate gather\[Return] +# +CN: Part 2 +KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] +KK: \C\[F21] +KK: \CM\C\[F24] KK: x^2\[Return]\[Return] +Cr: ^.*Putting +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 +Cr: ^.*Putting +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 TestEnd Lang C -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1' lyx-log.txt +Assert searchPatterns.pl base=findadv-16 +