2011-05-27 20:39:58 +00:00
|
|
|
# Finding numbered maths with ignore-format on&off (might affect #7596)
|
2017-05-24 14:29:32 +00:00
|
|
|
UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
|
|
|
|
UseShortcut "C-F22" "command-sequence math-mode ; math-number-toggle ;"
|
|
|
|
PrepareShortcuts
|
2011-05-27 20:39:58 +00:00
|
|
|
#
|
2015-03-17 16:36:47 +00:00
|
|
|
Lang sk_SK.utf8
|
2017-05-17 10:12:55 +00:00
|
|
|
CO: findadv-15.ctrl
|
2017-05-24 14:29:32 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 1
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \C\[F22]
|
2011-05-27 20:39:58 +00:00
|
|
|
KK: x^2 +x^2\C\[Home]
|
|
|
|
KK: \Cs
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
2022-05-10 13:03:11 +00:00
|
|
|
KK: \At\Ar\Ak\Ah
|
2020-05-29 12:22:34 +00:00
|
|
|
KK: \CF
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \C\[F22]
|
2011-05-27 20:39:58 +00:00
|
|
|
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]
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \C\[F22]
|
2011-05-27 20:39:58 +00:00
|
|
|
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)
|
2022-05-10 13:03:11 +00:00
|
|
|
KK: \At\Ar\Ak\Ah
|
2020-05-29 12:22:34 +00:00
|
|
|
KK: \CF
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \C\[F22]
|
2011-05-27 20:39:58 +00:00
|
|
|
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]
|
2017-05-24 14:29:32 +00:00
|
|
|
KK: \C\[F22]
|
2011-05-27 20:39:58 +00:00
|
|
|
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-24 14:29:32 +00:00
|
|
|
Assert searchPatterns.pl base=findadv-15
|
2017-05-17 10:12:55 +00:00
|
|
|
|