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"
14 TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
18 KK: \C\[F22]foo\[Return]
19 KK: \C\[F29]foo\C\[Home]
20 KK: \Axbuffer-write\[Return]
21 KK: \Axdialog-show findreplaceadv\[Return]
22 # Uncheck ignore format
26 KK: \C\[F22]foo\[Return]
27 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
30 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
31 KK: \[Escape]\C\[Home]
32 KK: \Axdialog-show findreplaceadv\[Return]
34 # Uncheck ignore format
38 KK: foo\[Return]\[Return]\[Return]
39 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
40 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
41 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3
44 Assert searchPatterns.pl base=findadv-06