]> git.lyx.org Git - features.git/blob - development/autotests/findadv-08-in.txt
keytests: Adapt to new shortcuts.
[features.git] / development / autotests / findadv-08-in.txt
1 # Basic test for searching with regular expressions
2 UseShortcut "C-F20" "regexp-mode"
3 UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
4 PrepareShortcuts
5 #
6 Lang sk_SK.utf8
7 TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
8 CO: findadv-08.ctrl
9 CN: Started findadv-08 1
10 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
11 KK: Nel mezzo del cammin di nostra vita\[Return]
12 KK: mi ritrovai per una selva oscura\C\[Home]
13 KK: \Axbuffer-write\[Return]
14 KK: \C\[F21]
15 KK: o
16 KK: \C\[F20]
17 KK: .* a\[Return]
18 CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
19 #
20 CN: Started findadv-08 2
21 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
22 KK: \[Escape]\C\[Home]\C\[F21]
23 KK: o
24 KK: \C\[F20]
25 KK: [\\w]* a
26 # select whole words
27 KK: \Ae
28 # search next
29 KK: \Al
30 KK: \[Escape]
31 #KD: 1
32 Cr: ^.*Putting
33 CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
34 #
35 CN: Started findadv-08 3
36 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
37 KK: \[Escape]\C\[Home]\C\[F21]
38 KK: \C\[F20]
39 KK: .* 
40 KK: \Al\Al\Al
41 Cr: ^.*Putting
42 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
43 Cr: ^.*Putting
44 CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
45 Cr: ^.*Putting
46 CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
47 TestEnd
48 Lang C
49 Assert searchPatterns.pl log=findadv-08.loga.txt patterns=findadv-08.ctrl
50