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

36 lines
840 B
Plaintext

# Basic test for searching with par-style awareness
Lang sk_SK.utf8
CO: findadv-06.ctrl
TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
KD: 50
CN: Part 1
KK: foo\[Return]
KK: \Ao2
KK: foo\[Return]
KK: \Ao9
KK: foo\C\[Home]
KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \Aj
KK: \Ao2
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: \Ao9
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 base=findadv-06