]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-11-in.txt
Cmake tests: findadv-01 - findadv-21 working
[lyx.git] / development / autotests / findadv-11-in.txt
index e0843275dae40ce570b3d9174c3d3a86c23307b4..597dae994a87a57837e10ecc9687f9af51a351ae 100644 (file)
@@ -1,22 +1,31 @@
-# Inspired by #7363.\r
-#\r
-Lang it_IT.utf8\r
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1\r
-KK: \Cm\r
-KK: x_v \C\[Home]\r
-KK: \Cs\r
-KK: \CF\r
-KK: \Cm\r
-KK: v\[Return]\r
-TestEnd\r
-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\r
-\r
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1\r
-KK: \C\[Home]\r
-KK: \CF\r
-# Uncheck ignore format\r
-KK: \Az\Ag\Ae\r
-KK: \Cm\r
-KK: v\[Return]\r
-TestEnd\r
-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\r
+# 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
+
+#
+Lang it_IT.utf8
+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: \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
+TestEnd
+Lang C
+Assert searchPatterns.pl base=findadv-11