lyx_mirror/development/autotests/findadv-05-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

32 lines
771 B
Plaintext

# Basic test for format-aware searching
#
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-05.loga.txt 2>&1
CO: findadv-05.ctrl
CN: Part 1
KK: foo \Cefoo foo\Ce foo\C\[Home]
KK: \Cs
KK: \CF
# Uncheck ignore format
KK: \At\Ai\Ah
# Select emphasised
KK: \Ce
KK: foo\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3
#
CN: Part 2
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \[Escape]\C\[Home]
KK: \CF
KK: \[Delete]
# Unchecked ignore format and emphasised already set
#KK: \At\Ai\Ah
#KK: \Ce
KK: foo\[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3
CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3
TestEnd
Lang C
Assert searchPatterns.pl log=findadv-05.loga.txt patterns=findadv-05.ctrl