]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-07-in.txt
ctests-costs-benefits: define false positive
[lyx.git] / development / autotests / findadv-07-in.txt
1 # Basic test for searching with par-style awareness
2 UseShortcut "C-F20" "layout Part"
3 UseShortcut "C-F21" "layout Chapter"
4 UseShortcut "C-F22" "layout Section"
5 UseShortcut "C-F23" "layout Subsection"
6 UseShortcut "C-F24" "layout Subsubsection"
7 UseShortcut "C-F25" "layout Paragraph"
8 UseShortcut "C-F26" "layout Subparagraph"
9 UseShortcut "C-F29" "layout Standard"
10 UseShortcut "C-F30" "layout Itemize"
11
12 PrepareShortcuts
13 Lang sk_SK.utf8
14 CO: findadv-06.ctrl
15
16 Lang sk_SK.utf8
17 CO: findadv-07.ctrl
18 TestBegin test.lyx -dbg key,find > findadv-07.loga.txt 2>&1
19 KD: 100
20 CN: Part 1
21 KK: foo bar\[Return]
22 #select itemized
23 KK: \C\[F30]
24 KK: foo bar\[Return]
25 KK: \C\[F29]
26 KK: foo bar\C\[Home]
27 KK: \Axbuffer-write\[Return]
28 KK: \Axdialog-show findreplaceadv\[Return]
29 # Uncheck ignore format
30 KK: \At\Ai\Ah
31 KK: \CF
32 KK: \C\[F30]
33 Sleep 1
34 KK: foo\[Return]
35 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
36 #
37 CN: Part 2
38 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
39 KK: \[Escape]\C\[Home]
40 KK: \CF
41 KK: \[Delete]
42 # Uncheck ignore format
43 #KK: \At\Ai\Ah
44 #KK: \CF
45 KK: \C\[F30]
46 Sleep 1
47 KK: bar\[Return]
48 CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3
49 TestEnd
50 Lang C
51 Assert searchPatterns.pl base=findadv-07