2017-05-16 07:16:18 +00:00
|
|
|
# Finding special latex/regexp chars: \
|
2017-05-21 10:42:27 +00:00
|
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
|
|
UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
|
|
|
|
PrepareShortcuts
|
2017-05-16 07:16:18 +00:00
|
|
|
#
|
|
|
|
Lang sk_SK.utf8
|
2017-05-17 10:12:55 +00:00
|
|
|
CO: findadv-combined.ctrl
|
2017-05-24 14:29:32 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-combined.loga.txt 2>&1
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
|
|
# String to be checked
|
2018-10-29 12:17:54 +00:00
|
|
|
KD: 100
|
2017-05-16 07:16:18 +00:00
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \\()[]{}%^#@?*.\[Return]
|
|
|
|
KK: \Cs
|
|
|
|
|
|
|
|
#
|
|
|
|
# First tests with ignore format set
|
|
|
|
# The tests are not separated by \[Home] in order to
|
|
|
|
# be found at possibly different inset
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
KK: \[Escape]\C\[Home]
|
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 001
|
|
|
|
KK: \C\[F21]\C\[F20]\\@\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\@'
|
2017-05-16 07:16:18 +00:00
|
|
|
CR: [pP]utting selection at .*idx: 0 par: 0 pos: 10\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 002
|
|
|
|
KK: \C\[F21]\C\[F20]\\(\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\('
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 003
|
|
|
|
KK: \C\[F21]\C\[F20]\\)\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\)'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 004
|
|
|
|
KK: \C\[F21]\C\[F20]\\\\\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaping: '\backslash\backslash'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 005
|
|
|
|
KK: \C\[F21]\C\[F20]%\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
CN: Escaped : '%'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 006
|
|
|
|
KK: \C\[F21]\C\[F20]\\^\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\^'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 007
|
|
|
|
KK: \C\[F21]\C\[F20]\\[\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\['
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 3\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 008
|
|
|
|
KK: \C\[F21]\C\[F20]\\]\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\]'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 4\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 009
|
|
|
|
KK: \C\[F21]\C\[F20]\\{\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
CN: Escaping: '\backslash\{'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 010
|
|
|
|
KK: \C\[F21]\C\[F20]\\}\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaping: '\backslash\}'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CN: ..
|
|
|
|
CN: Now tests with unchecked ignore format
|
|
|
|
CN: ..
|
|
|
|
#
|
|
|
|
KK: \CF
|
|
|
|
# Uncheck ignore format
|
|
|
|
KK: \At\Ai\Ah
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
2017-05-16 07:16:18 +00:00
|
|
|
KK: \[Escape]\C\[Home]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
|
|
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 101
|
|
|
|
KK: \C\[F21]\C\[F20]\\[\[Return]
|
2018-10-29 12:17:54 +00:00
|
|
|
Sleep 1
|
|
|
|
CN: Escaped : '\['
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 102
|
|
|
|
KK: \C\[F21]\C\[F20]\\(\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\('
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 103
|
|
|
|
KK: \C\[F21]\C\[F20]\\)\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\)'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 104
|
|
|
|
KK: \C\[F21]\C\[F20]\\\\\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\\'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 105
|
|
|
|
KK: \C\[F21]\C\[F20]%\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '%'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 105
|
|
|
|
KK: \C\[F21]\C\[F20]\\^\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\^'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 106
|
|
|
|
KK: \C\[F21]\C\[F20]\\{\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaping: '\backslash\{'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 107
|
|
|
|
KK: \C\[F21]\C\[F20]\\}\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaping: '\backslash\}'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 108
|
|
|
|
KK: \C\[F21]\C\[F20]\\]\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\]'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 4 pos: 4\n with len: 1
|
|
|
|
#
|
2017-05-21 10:42:27 +00:00
|
|
|
CN: Part 109
|
|
|
|
KK: \C\[F21]\C\[F20]\\@\[Return]
|
2022-04-15 15:18:40 +00:00
|
|
|
CN: Escaped : '\@'
|
2017-05-16 07:16:18 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 4 pos: 10\n with len: 1
|
|
|
|
|
|
|
|
#
|
|
|
|
TestEnd
|
2017-05-21 10:42:27 +00:00
|
|
|
Lang C
|
2017-05-24 14:29:32 +00:00
|
|
|
Assert searchPatterns.pl base=findadv-combined
|