2011-05-27 20:39:58 +00:00
|
|
|
# Finding numbered maths with ignore-format on&off (might affect #7596)
|
|
|
|
#
|
2015-03-17 16:36:47 +00:00
|
|
|
Lang sk_SK.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1
|
2017-05-17 10:12:55 +00:00
|
|
|
CO: findadv-15.ctrl
|
|
|
|
CN: Part 1
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CM\Axmath-number-toggle\[Return]
|
|
|
|
KK: x^2 +x^2\C\[Home]
|
|
|
|
KK: \Cs
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
2015-03-17 16:36:47 +00:00
|
|
|
KK: \At\Ai\Ah
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CM\Axmath-number-toggle\[Return]
|
|
|
|
KK: x^2\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
|
2011-05-27 20:39:58 +00:00
|
|
|
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 2
|
|
|
|
KK: \[Escape]\C\[Home]
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CF
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Delete]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CM\Axmath-number-toggle\[Return]
|
|
|
|
KK: x^2\[Return]\[Return]
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
|
2011-05-27 20:39:58 +00:00
|
|
|
|
2017-05-17 11:52:54 +00:00
|
|
|
#
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 3
|
|
|
|
KK: \[Escape]\C\[Home]
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CF
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Delete]
|
|
|
|
# Check ignore format (was unchecked)
|
|
|
|
KK: \At\Ai\Ah
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CM\Axmath-number-toggle\[Return]
|
|
|
|
KK: x^2\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
|
2011-05-27 20:39:58 +00:00
|
|
|
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 4
|
|
|
|
KK: \[Escape]\C\[Home]
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CF
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Delete]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: \CM\Axmath-number-toggle\[Return]
|
|
|
|
KK: x^2\[Return]\[Return]
|
2017-05-17 11:52:54 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
|
2011-05-27 20:39:58 +00:00
|
|
|
TestEnd
|
2017-05-17 11:52:54 +00:00
|
|
|
Lang C
|
2017-05-17 10:12:55 +00:00
|
|
|
Assert searchPatterns.pl log=findadv-15.loga.txt patterns=findadv-15.ctrl
|
|
|
|
|