# Basic test for format-aware searching
#
-Lang it_IT.utf8
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
-KK: foo\Ce foo\Ce foo\C\[Home]
+KK: foo \Cefoo foo\Ce foo\C\[Home]
KK: \Cs
KK: \CF
# Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
KK: \Ce
KK: foo\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3' lyx-log.txt
+
+Lang sk_SK.utf8
+TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+KK: \CF
+# Uncheck ignore format
+KK: \At\Ai\Ah
+KK: \Ce
+KK: foo\[Return]\[Return]
+TestEnd
+Lang C
+Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3' lyx-log.txt