lyx_mirror/development/autotests/findadv-06-in.txt
Kornel Benko 09e5acba11 keytests: Rewritten to use searchPatterns.pl instead of pcregrep
Also corrected output of keytest.py. Messages from called
programs were output to stdout wile own printed messages
were still cached.
2017-05-17 12:12:55 +02:00

35 lines
866 B
Plaintext

# Basic test for searching with par-style awareness
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
CO: findadv-06.ctrl
CN: Part 1
KK: foo\[Return]
KK: \Ap2
KK: foo\[Return]
KK: \Aps
KK: 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]
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
#
CN: Part 2
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \[Escape]\C\[Home]
KK: \Axdialog-show findreplaceadv\[Return]
KK: \[Delete]
# Uncheck ignore format
#KK: \At\Ai\Ah
KK: \Aps
KK: foo\[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3
TestEnd
Lang C
Assert searchPatterns.pl log=findadv-06.loga.txt patterns=findadv-06.ctrl