]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-21-in.txt
Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
[lyx.git] / development / autotests / findadv-21-in.txt
index b7fa611675afaef572a6cf08d835d6605fed8817..6309245b26f3c6d70a699397bcb2ff579775307d 100644 (file)
@@ -1,38 +1,50 @@
 # Test for searching with regular expressions
 # Test for #8381
+UseShortcut "C-F20" "regexp-mode"
+PrepareShortcuts
 
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
-KK: \Apb
+CO: findadv-21.ctrl
+TestBegin test.lyx -dbg key,find > findadv-21.loga.txt 2>&1
+KD: 50
+KK: \Aob
 KK: one\[Return]
 KK: two\[Return]
 KK: three\[Return]
-KK: \Ape
+KK: \Aoe
 KK: four\[Return]
 KK: five\[Return]
-KK: \Apl
+KK: \Aol
 KK: l1 six\[Return]
 KK: l2 seven\[Return]
-KK: \Apd
+KK: \Aod
 KK: op1 eight\[Return]
 KK: op2 nine\C\[Home]
 KK: \Cs
 KK: \CF
 # Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Ape
-KK: \Axregexp-mode\[Return][a-z]* \[Return]
-TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4' lyx-log.txt
-
-Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
+KK: \At\Ar\Ak\Ah
 KK: \CF
+KK: \Aoe
+KK: \C\[F20][a-z]* \[Return]\[Return]
+Cr: ^.*Putting
+#Cr: ^.*action=buffer-begin
+CP: Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4
+CP: Putting selection at cur= inset: .* idx: 0 par: 4 pos: 0\n with len: 4
+
+KK: \[Escape]\[Escape]\C\[Home]
+Cr: ^.*Putting
+#CP: Key (queried) [action=buffer-begin][Ctrl+Home]
+
+KK: \CF\[Delete]
 # Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Apd
-KK: \Axregexp-mode\[Return][a-z]*\\s+[a-z]* \[Return]\[Return]
+#KK: \At\Ar\Ak\Ah
+#KK: \CF
+KK: \Aol
+KK: \C\[F20][a-z]2  \C\[F20][a-z]+
+KK: \[Return]\[Return]\[Return]\[Return]\[Return]\[Return]
+Cr: ^.*Putting
+CP: Putting selection at cur= inset: .* idx: 0 par: 6 pos: 0\n with len: 8
 TestEnd
 Lang C
-Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 7 pos: 3\n with len: 6' lyx-log2.txt
+Assert searchPatterns.pl base=findadv-21