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