1 # Finding numbered maths with ignore-format on&off (might affect #7596)
2 UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
3 UseShortcut "C-F22" "command-sequence math-mode ; math-number-toggle ;"
8 TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1
14 # Uncheck ignore format
19 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
22 KK: \[Escape]\C\[Home]
23 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
27 KK: x^2\[Return]\[Return]
28 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
29 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
33 KK: \[Escape]\C\[Home]
34 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
37 # Check ignore format (was unchecked)
42 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
45 KK: \[Escape]\C\[Home]
46 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
50 KK: x^2\[Return]\[Return]
51 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
52 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
55 Assert searchPatterns.pl base=findadv-15