X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2Ffindadv-06-in.txt;h=a746501af2c2cd0e86094084f728c0e5abcccfa2;hb=3bd3c2ca09aac46e11d582b31f33b6d8fe984968;hp=637ea5ce649454d3f33d3914c2f3148ecd02603a;hpb=bfc0b09e0c4d1f7b4ce1ebe745ba5f2ee1dacc75;p=features.git diff --git a/development/autotests/findadv-06-in.txt b/development/autotests/findadv-06-in.txt index 637ea5ce64..a746501af2 100644 --- a/development/autotests/findadv-06-in.txt +++ b/development/autotests/findadv-06-in.txt @@ -1,30 +1,44 @@ # Basic test for searching with par-style awareness +UseShortcut "C-F20" "layout Part" +UseShortcut "C-F21" "layout Chapter" +UseShortcut "C-F22" "layout Section" +UseShortcut "C-F23" "layout Subsection" +UseShortcut "C-F24" "layout Subsubsection" +UseShortcut "C-F25" "layout Paragraph" +UseShortcut "C-F26" "layout Subparagraph" +UseShortcut "C-F29" "layout Standard" +PrepareShortcuts Lang sk_SK.utf8 +CO: findadv-06.ctrl TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1 +KD: 100 +CN: Part 1 KK: foo\[Return] -KK: \Ap2 -KK: foo\[Return] -KK: \Aps -KK: foo\C\[Home] +KK: \C\[F22]foo\[Return] +KK: \C\[F29]foo\C\[Home] KK: \Axbuffer-write\[Return] KK: \Axdialog-show findreplaceadv\[Return] # Uncheck ignore format -KK: \At\Ai\Ah -KK: \Aj -KK: \Ap2 -KK: foo\[Return] -TestEnd -Lang C -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-06.loga.txt +KK: \At\Ar\Ak\Ah +KK: \CF +#KK: \Aj +KK: \C\[F22]foo\[Return] +CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 # -Lang sk_SK.utf8 -TestBegin test.lyx -dbg key,find > findadv-06.logb.txt 2>&1 -KK: \C\[Home] +CN: Part 2 +CP: Key (queried) [action=buffer-begin][Ctrl+Home] +KK: \[Escape]\C\[Home] KK: \Axdialog-show findreplaceadv\[Return] -# Uncheck ignore format -KK: \At\Ai\Ah -KK: foo\[Return]\[Return] +KK: \[Delete] +# Check ignore format +KK: \At\Ar\AÅ¥\Ah +#KK: \CF +KK: \C\[F29] +KK: foo\[Return]\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 +CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 +CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3 TestEnd Lang C -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3' findadv-06.logb.txt +Assert searchPatterns.pl base=findadv-06