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
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]
20 CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
23 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
24 KK: \[Escape]\C\[Home]\C\[F21]
33 # The following Escape is too fast
38 CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
41 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
42 KK: \[Escape]\C\[Home]\C\[F21]
45 KK: \[Return]\[Return]\[Return]
47 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
49 CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
51 CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
54 Assert searchPatterns.pl base=findadv-08