2011-02-06 22:48:54 +00:00
|
|
|
# Basic test for searching with regular expressions
|
|
|
|
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang sk_SK.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
|
2017-05-17 10:12:55 +00:00
|
|
|
CO: findadv-08.ctrl
|
|
|
|
CN: Started findadv-08 1
|
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: Nel mezzo del cammin di nostra vita\[Return]
|
|
|
|
KK: mi ritrovai per una selva oscura\C\[Home]
|
2015-03-09 08:41:34 +00:00
|
|
|
KK: \Axbuffer-write\[Return]
|
|
|
|
KK: \Axdialog-show findreplaceadv\[Return]
|
2017-04-24 15:43:39 +00:00
|
|
|
KK: o
|
|
|
|
KK: \Axregexp-mode\[Return]
|
|
|
|
KK: .* a\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
|
|
|
|
#
|
|
|
|
CN: Started findadv-08 2
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Escape]\C\[Home]\Axdialog-show findreplaceadv\[Return]
|
|
|
|
KK: \[Delete]
|
2017-04-24 15:43:39 +00:00
|
|
|
KK: o
|
|
|
|
KK: \Axregexp-mode\[Return]
|
|
|
|
KK: [\\w]* a
|
2017-05-12 09:22:05 +00:00
|
|
|
# Without the slowing, lyx crashes
|
2017-05-07 11:45:48 +00:00
|
|
|
KD: 100
|
2017-05-12 09:22:05 +00:00
|
|
|
# select whole words
|
2017-04-16 21:43:56 +00:00
|
|
|
KK: \Ac\Ac
|
2017-04-24 15:43:39 +00:00
|
|
|
# search next
|
2017-04-16 21:43:56 +00:00
|
|
|
KK: \Al
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Escape]
|
|
|
|
#KD: 1
|
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
|
|
|
|
#
|
|
|
|
CN: Started findadv-08 3
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Escape]
|
2015-03-09 08:41:34 +00:00
|
|
|
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Delete]
|
2017-04-24 15:43:39 +00:00
|
|
|
KK: \Axregexp-mode\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: .*
|
2017-04-24 15:43:39 +00:00
|
|
|
KK: \Al\Al\Al
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
|
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
|
2011-02-06 22:48:54 +00:00
|
|
|
TestEnd
|
2017-05-17 11:52:54 +00:00
|
|
|
Lang C
|
2017-05-17 10:12:55 +00:00
|
|
|
Assert searchPatterns.pl log=findadv-08.loga.txt patterns=findadv-08.ctrl
|
|
|
|
|