lyx_mirror/development/autotests/findadv-05-in.txt
Kornel Benko 2d477c5e0a Changes to match math equations
Now tests findadv-01 ... findadv-20 pass too.

keytest.py: Expanded time for controll keys (like \[Return])
findadv*: expanded time for normal keys
lyxfind.cpp: Handle math equations
2018-10-28 19:40:14 +01:00

31 lines
721 B
Plaintext

# Basic test for format-aware searching
#
Lang sk_SK.utf8
CO: findadv-05.ctrl
TestBegin test.lyx -dbg key,find > findadv-05.loga.txt 2>&1
KD: 50
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: 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 base=findadv-05