X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fautotests%2Ffindadv-11-in.txt;h=a13d81c8ac80fabe1118ec566e9dfeb20beea4cf;hb=cb3922093016875404aedc6d1fcf2e088944b5c9;hp=e0843275dae40ce570b3d9174c3d3a86c23307b4;hpb=e52af5f89722d69fc63b829d9d9623ab56e6c5e1;p=lyx.git diff --git a/development/autotests/findadv-11-in.txt b/development/autotests/findadv-11-in.txt index e0843275da..a13d81c8ac 100644 --- a/development/autotests/findadv-11-in.txt +++ b/development/autotests/findadv-11-in.txt @@ -1,22 +1,29 @@ -# Inspired by #7363. -# -Lang it_IT.utf8 -TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 -KK: \Cm -KK: x_v \C\[Home] -KK: \Cs -KK: \CF -KK: \Cm -KK: v\[Return] -TestEnd -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' lyx-log.txt - -TestBegin test.lyx -dbg find > lyx-log.txt 2>&1 -KK: \C\[Home] -KK: \CF -# Uncheck ignore format -KK: \Az\Ag\Ae -KK: \Cm -KK: v\[Return] -TestEnd -Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' lyx-log.txt +# Inspired by #7363. +# +Lang it_IT.utf8 +CO: findadv-11.ctrl +TestBegin test.lyx -dbg key,find > findadv-11.loga.txt 2>&1 +KD: 200 +CN: Part 1 +KK: \Cm +KK: x_v \C\[Home] +KK: \Cs +KK: \CF +KK: \Cm +KK: v\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1 + +# +CN: Part 2 +CP: Key (queried) [action=buffer-begin][Ctrl+Home] +KK: \[Escape]\C\[Home] +KK: \CF +KK: \[Delete] +# Uncheck ignore format +KK: \Az\Ag\Ae +KK: \Cm +KK: v\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1 +TestEnd +Lang C +Assert searchPatterns.pl base=findadv-11