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 ;"
8 TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
11 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
12 KK: Nel mezzo del cammin di nostra vita\[Return]
13 KK: mi ritrovai per una selva oscura\C\[Home]
14 KK: \Axbuffer-write\[Return]
19 CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
22 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
23 KK: \[Escape]\C\[Home]\C\[F21]
35 CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
38 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
39 KK: \[Escape]\C\[Home]\C\[F21]
42 KK: \[Return]\[Return]\[Return]
44 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
46 CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
48 CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
51 Assert searchPatterns.pl base=findadv-08