lyx_mirror/development/autotests/findadv-09-in.txt
2022-05-10 15:03:11 +02:00

36 lines
853 B
Plaintext

# Test for searching with regular expressions
UseShortcut "C-F30" "layout Itemize"
UseShortcut "C-F20" "regexp-mode"
PrepareShortcuts
Lang sk_SK.utf8
CO: findadv-09.ctrl
TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1
CN: Part 1
KK: \C\[F30]
KK: one\[Return]two\[Return]three\C\[Home]\Cs
KK: \CF
# Uncheck ignore format
KK: \At\Ar\Ak\Ah
KK: \CF
KK: \C\[F30]
KK: \C\[F20][a-z]* \[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CN: Part 2
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \[Escape]\C\[Home]
KK: \CF
KK: \[Delete]
# Uncheck ignore format
#KK: \At\Ar\Ak\Ah
#KK: \CF
KK: \C\[F30]
KK: \C\[F20][a-z]* \[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
TestEnd
Lang C
Assert searchPatterns.pl base=findadv-09