mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
09e5acba11
Also corrected output of keytest.py. Messages from called programs were output to stdout wile own printed messages were still cached.
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# Basic test for searching with regular expressions
|
|
|
|
Lang sk_SK.utf8
|
|
TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
|
|
CO: findadv-08.ctrl
|
|
CN: Started findadv-08 1
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
KK: Nel mezzo del cammin di nostra vita\[Return]
|
|
KK: mi ritrovai per una selva oscura\C\[Home]
|
|
KK: \Axbuffer-write\[Return]
|
|
KK: \Axdialog-show findreplaceadv\[Return]
|
|
KK: o
|
|
KK: \Axregexp-mode\[Return]
|
|
KK: .* a\[Return]
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
|
|
#
|
|
CN: Started findadv-08 2
|
|
KK: \[Escape]\C\[Home]\Axdialog-show findreplaceadv\[Return]
|
|
KK: \[Delete]
|
|
KK: o
|
|
KK: \Axregexp-mode\[Return]
|
|
KK: [\\w]* a
|
|
# Without the slowing, lyx crashes
|
|
KD: 100
|
|
# select whole words
|
|
KK: \Ac\Ac
|
|
# search next
|
|
KK: \Al
|
|
KK: \[Escape]
|
|
#KD: 1
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
|
|
#
|
|
CN: Started findadv-08 3
|
|
KK: \[Escape]
|
|
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
|
KK: \[Delete]
|
|
KK: \Axregexp-mode\[Return]
|
|
KK: .*
|
|
KK: \Al\Al\Al
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
|
|
TestEnd
|
|
CC:
|
|
Assert searchPatterns.pl log=findadv-08.loga.txt patterns=findadv-08.ctrl
|
|
|