2012-10-22 00:03:44 +00:00
|
|
|
# Finding styles with regexp
|
2021-01-29 15:11:16 +00:00
|
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
|
|
PrepareShortcuts
|
2012-10-22 00:03:44 +00:00
|
|
|
|
2015-03-17 16:36:47 +00:00
|
|
|
Lang sk_SK.utf8
|
2017-05-18 11:05:36 +00:00
|
|
|
CO: findadv-re-04.ctrl
|
|
|
|
CN: Part 1
|
|
|
|
CP: Init key
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-re-04.loga.txt 2>&1
|
2017-05-18 11:05:36 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: The quick Brown \CeFox jUMps\Ce over the lazy Dog\[Return]
|
2018-09-29 10:54:22 +00:00
|
|
|
Sleep 1
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \C\[Home]
|
2012-10-22 00:03:44 +00:00
|
|
|
KK: \Cs
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format (depends on IT language)
|
2015-03-17 16:36:47 +00:00
|
|
|
KK: \At\Ai\Ah
|
2020-05-29 18:56:38 +00:00
|
|
|
KK: \CF
|
2017-04-25 15:34:56 +00:00
|
|
|
KK: \Ce
|
2017-05-18 11:05:36 +00:00
|
|
|
CN: Case insensitive, format not ignored .*
|
2021-01-29 15:11:16 +00:00
|
|
|
KK: \C\[F20].*\[Return]
|
2017-05-18 11:05:36 +00:00
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 9
|
2017-05-24 14:29:32 +00:00
|
|
|
Cr: ^.*Putting
|
2017-05-18 11:05:36 +00:00
|
|
|
TestEnd
|
|
|
|
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
|
|
CN: Part 2
|
|
|
|
CP: Init key
|
|
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
2022-03-25 22:00:59 +00:00
|
|
|
CN: Case insensitive, format not ignored [a-z]+
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format (depends on IT language)
|
|
|
|
KK: \At\Ai\Ah
|
2020-05-29 18:56:38 +00:00
|
|
|
KK: \CF
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \Ce
|
2022-03-25 22:00:59 +00:00
|
|
|
KK: \C\[F20]\\b[a-z]+\\b\[Return]\[Return]\[Return]
|
2017-05-18 11:05:36 +00:00
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 3
|
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 5
|
2017-05-24 14:29:32 +00:00
|
|
|
Cr: ^.*Putting
|
2017-05-18 11:05:36 +00:00
|
|
|
TestEnd
|
|
|
|
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
|
|
CN: Part 3
|
|
|
|
CP: Init key
|
|
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
|
|
|
|
2022-03-25 22:00:59 +00:00
|
|
|
CN: Case sensitive, format not ignored [a-z]+
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \CF
|
|
|
|
KK: \At\Ai\Ah
|
2020-05-29 18:56:38 +00:00
|
|
|
KK: \CF
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \Ce
|
2022-03-25 22:00:59 +00:00
|
|
|
KK: \Az\[Tab]\[Tab]\C\[F20][a-z]+\[Return]\[Return]\[Return]\[Return]
|
2017-05-18 11:05:36 +00:00
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 17\n with len: 2
|
|
|
|
Cr: ^.*Putting
|
|
|
|
Cr: ^.*Init key
|
2017-05-24 14:29:32 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 1
|
|
|
|
Cr: ^.*Putting
|
|
|
|
Cr: ^.*Init key
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 23\n with len: 2
|
|
|
|
Cr: ^.*Putting
|
2017-05-18 11:05:36 +00:00
|
|
|
TestEnd
|
|
|
|
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
|
|
CN: Part 4
|
|
|
|
CP: Init key
|
|
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
|
|
|
|
2018-09-29 10:54:22 +00:00
|
|
|
CN: Case sensitive, format not ignored [A-Z]+
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \CF
|
|
|
|
KK: \At\Ai\Ah
|
2020-05-29 18:56:38 +00:00
|
|
|
KK: \CF
|
2017-05-18 11:05:36 +00:00
|
|
|
KK: \Ce
|
2022-03-25 22:00:59 +00:00
|
|
|
KK: \Az\[Tab]\[Tab]\C\[F20][A-Z]+\[Return]\[Return]\[Return]
|
2017-05-18 11:05:36 +00:00
|
|
|
Cr: ^.*Putting
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 1
|
|
|
|
Cr: ^.*Putting
|
2017-05-24 14:29:32 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 21\n with len: 2
|
|
|
|
Cr: ^.*Putting
|
2012-10-22 00:03:44 +00:00
|
|
|
TestEnd
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang C
|
2017-05-24 14:29:32 +00:00
|
|
|
Assert searchPatterns.pl base=findadv-re-04
|