2017-04-27 11:11:21 +00:00
|
|
|
# Test for searching with regular expressions
|
|
|
|
# Test for #8381
|
2021-01-29 15:11:16 +00:00
|
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
|
|
PrepareShortcuts
|
2017-04-27 11:11:21 +00:00
|
|
|
|
|
|
|
Lang sk_SK.utf8
|
2017-05-24 14:29:32 +00:00
|
|
|
CO: findadv-21.ctrl
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-21.loga.txt 2>&1
|
2018-11-03 11:30:07 +00:00
|
|
|
KD: 50
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aob
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: one\[Return]
|
|
|
|
KK: two\[Return]
|
|
|
|
KK: three\[Return]
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aoe
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: four\[Return]
|
|
|
|
KK: five\[Return]
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aol
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: l1 six\[Return]
|
|
|
|
KK: l2 seven\[Return]
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aod
|
2017-04-27 11:11:21 +00:00
|
|
|
KK: op1 eight\[Return]
|
|
|
|
KK: op2 nine\C\[Home]
|
|
|
|
KK: \Cs
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
|
|
|
KK: \At\Ai\Ah
|
2020-05-29 18:18:45 +00:00
|
|
|
KK: \CF
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aoe
|
2021-01-29 15:11:16 +00:00
|
|
|
KK: \C\[F20][a-z]* \[Return]\[Return]
|
2017-05-24 14:29:32 +00:00
|
|
|
Cr: ^.*Putting
|
2018-11-03 11:30:07 +00:00
|
|
|
#Cr: ^.*action=buffer-begin
|
2017-05-24 14:29:32 +00:00
|
|
|
CP: Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4
|
2018-11-03 11:30:07 +00:00
|
|
|
CP: Putting selection at cur= inset: .* idx: 0 par: 4 pos: 0\n with len: 4
|
2017-04-27 11:11:21 +00:00
|
|
|
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \[Escape]\[Escape]\C\[Home]
|
|
|
|
Cr: ^.*Putting
|
2018-11-03 11:30:07 +00:00
|
|
|
#CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2017-05-24 14:29:32 +00:00
|
|
|
|
|
|
|
KK: \CF\[Delete]
|
2017-04-27 11:11:21 +00:00
|
|
|
# Uncheck ignore format
|
2017-05-24 14:29:32 +00:00
|
|
|
#KK: \At\Ai\Ah
|
2020-05-29 18:18:45 +00:00
|
|
|
#KK: \CF
|
2018-07-07 09:10:20 +00:00
|
|
|
KK: \Aol
|
2021-01-29 15:11:16 +00:00
|
|
|
KK: \C\[F20][a-z]2 \C\[F20][a-z]+
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \[Return]\[Return]\[Return]\[Return]\[Return]\[Return]
|
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at cur= inset: .* idx: 0 par: 6 pos: 0\n with len: 8
|
2017-04-27 11:11:21 +00:00
|
|
|
TestEnd
|
|
|
|
Lang C
|
2017-05-24 14:29:32 +00:00
|
|
|
Assert searchPatterns.pl base=findadv-21
|