X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2Ffindadv-15-in.txt;h=90094895b81c7e55e71a6d5d40c531d2b9e39b2c;hb=4bb576e94089f524efe667912f6e3cec17e81330;hp=9879320aa4efda5927982ed504a9ffd54d51780a;hpb=3bdffab7c885d98fbdc711c6e67a6e6882e1a26f;p=lyx.git diff --git a/development/autotests/findadv-15-in.txt b/development/autotests/findadv-15-in.txt index 9879320aa4..90094895b8 100644 --- a/development/autotests/findadv-15-in.txt +++ b/development/autotests/findadv-15-in.txt @@ -1,16 +1,20 @@ # Finding numbered maths with ignore-format on&off (might affect #7596) +UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;" +UseShortcut "C-F22" "command-sequence math-mode ; math-number-toggle ;" +PrepareShortcuts # Lang sk_SK.utf8 -TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1 CO: findadv-15.ctrl +TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1 CN: Part 1 -KK: \CM\Axmath-number-toggle\[Return] +KK: \C\[F22] KK: x^2 +x^2\C\[Home] KK: \Cs KK: \CF # Uncheck ignore format -KK: \At\Ai\Ah -KK: \CM\Axmath-number-toggle\[Return] +KK: \At\Ar\Ak\Ah +KK: \CF +KK: \C\[F22] KK: x^2\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 @@ -19,7 +23,7 @@ KK: \[Escape]\C\[Home] CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] -KK: \CM\Axmath-number-toggle\[Return] +KK: \C\[F22] KK: x^2\[Return]\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 @@ -31,8 +35,9 @@ CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] # Check ignore format (was unchecked) -KK: \At\Ai\Ah -KK: \CM\Axmath-number-toggle\[Return] +KK: \At\Ar\Ak\Ah +KK: \CF +KK: \C\[F22] KK: x^2\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 @@ -41,11 +46,11 @@ KK: \[Escape]\C\[Home] CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] -KK: \CM\Axmath-number-toggle\[Return] +KK: \C\[F22] KK: x^2\[Return]\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1 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 searchPatterns.pl log=findadv-15.loga.txt patterns=findadv-15.ctrl +Assert searchPatterns.pl base=findadv-15