lyx_mirror/development/autotests/findadv-15-in.txt

57 lines
1.6 KiB
Plaintext
Raw Normal View History

# Finding numbered maths with ignore-format on&off (might affect #7596)
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
#
Lang sk_SK.utf8
CO: findadv-15.ctrl
TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1
CN: Part 1
KK: \C\[F22]
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
KK: \C\[F22]
KK: x^2\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
CN: Part 2
KK: \[Escape]\C\[Home]
2017-05-17 11:52:54 +00:00
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \CF
KK: \[Delete]
KK: \C\[F22]
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
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
2017-05-17 11:52:54 +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]
KK: \CF
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
KK: \C\[F22]
KK: x^2\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
CN: Part 4
KK: \[Escape]\C\[Home]
2017-05-17 11:52:54 +00:00
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \CF
KK: \[Delete]
KK: \C\[F22]
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
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
TestEnd
2017-05-17 11:52:54 +00:00
Lang C
Assert searchPatterns.pl base=findadv-15