]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-08-in.txt
Rework linguistic gloss support
[lyx.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 CO: findadv-08.ctrl
8 TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
9 KD: 100
10 CN: Part 1
11 Cr: ^.*Putting
12 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
13 KK: Nel mezzo del cammin di nostra vita\[Return]
14 KK: mi ritrovai per una selva oscura\C\[Home]
15 KK: \Axbuffer-write\[Return]
16 KK: \C\[F21]
17 KK: o
18 KK: \C\[F20]
19 KK: .*? a\[Return]
20 CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
21 #
22 CN: Started Part 2
23 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
24 KK: \[Escape]\C\[Home]\C\[F21]
25 KK: o
26 KK: \C\[F20]
27 KK: [\\w]* a
28 #KD: 100
29 # select whole words
30 KK: \Ae
31 # search next
32 KK: \Al
33 # The following Escape is too fast
34 Sleep 1
35 KK: \[Escape]
36 #KD: 1
37 Cr: ^.*Putting
38 CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
39 #
40 CN: Part 3
41 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
42 KK: \[Escape]\C\[Home]\C\[F21]
43 KK: \C\[F20]
44 KK: .* 
45 KK: \[Return]\[Return]\[Return]
46 Cr: ^.*Putting
47 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
48 Cr: ^.*Putting
49 CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
50 Cr: ^.*Putting
51 CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
52 TestEnd
53 Lang C
54 Assert searchPatterns.pl base=findadv-08
55