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
18 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
21 KK: \[Escape]\C\[Home]
22 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
26 KK: x^2\[Return]\[Return]
27 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
28 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
32 KK: \[Escape]\C\[Home]
33 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
36 # Check ignore format (was unchecked)
40 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
43 KK: \[Escape]\C\[Home]
44 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
48 KK: x^2\[Return]\[Return]
49 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
50 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
53 Assert searchPatterns.pl base=findadv-15