Cmake tests: Adapt some keytests due to changed key-bindings

This commit is contained in:
Kornel Benko 2018-06-23 19:00:04 +02:00
parent bbe09eada1
commit 25ff03d120
6 changed files with 60 additions and 24 deletions

View File

@ -5,16 +5,16 @@ CO: findadv-06.ctrl
TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
CN: Part 1 CN: Part 1
KK: foo\[Return] KK: foo\[Return]
KK: \Ap2 KK: \Ao2
KK: foo\[Return] KK: foo\[Return]
KK: \Aps KK: \Ao9
KK: foo\C\[Home] KK: foo\C\[Home]
KK: \Axbuffer-write\[Return] KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return] KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
KK: \Aj KK: \Aj
KK: \Ap2 KK: \Ao2
KK: foo\[Return] KK: foo\[Return]
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
# #
@ -25,7 +25,7 @@ KK: \Axdialog-show findreplaceadv\[Return]
KK: \[Delete] KK: \[Delete]
# Uncheck ignore format # Uncheck ignore format
#KK: \At\Ai\Ah #KK: \At\Ai\Ah
KK: \Aps KK: \Ao9
KK: foo\[Return]\[Return] KK: foo\[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3

View File

@ -6,15 +6,15 @@ TestBegin test.lyx -dbg key,find > findadv-07.loga.txt 2>&1
CN: Part 1 CN: Part 1
KK: foo bar\[Return] KK: foo bar\[Return]
#select itemized #select itemized
KK: \Apb KK: \Aob
KK: foo bar\[Return] KK: foo bar\[Return]
KK: \Aps KK: \Ao9
KK: foo bar\C\[Home] KK: foo bar\C\[Home]
KK: \Axbuffer-write\[Return] KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return] KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
KK: \Apb KK: \Aob
KK: foo\[Return] KK: foo\[Return]
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
# #
@ -25,7 +25,7 @@ KK: \CF
KK: \[Delete] KK: \[Delete]
# Uncheck ignore format # Uncheck ignore format
#KK: \At\Ai\Ah #KK: \At\Ai\Ah
KK: \Apb KK: \Aob
KK: bar\[Return] KK: bar\[Return]
CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3 CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3
TestEnd TestEnd

View File

@ -4,12 +4,12 @@ Lang sk_SK.utf8
CO: findadv-09.ctrl CO: findadv-09.ctrl
TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1
CN: Part 1 CN: Part 1
KK: \Apb KK: \Aob
KK: one\[Return]two\[Return]three\C\[Home]\Cs KK: one\[Return]two\[Return]three\C\[Home]\Cs
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
KK: \Apb KK: \Aob
KK: \Axregexp-mode\[Return][a-z]* \[Return] KK: \Axregexp-mode\[Return][a-z]* \[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
@ -20,7 +20,7 @@ KK: \CF
KK: \[Delete] KK: \[Delete]
# Uncheck ignore format # Uncheck ignore format
#KK: \At\Ai\Ah #KK: \At\Ai\Ah
KK: \Apb KK: \Aob
KK: \Axregexp-mode\[Return][a-z]* \[Return]\[Return] KK: \Axregexp-mode\[Return][a-z]* \[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3

View File

@ -1,18 +1,17 @@
# Finding displayed maths with ignore-format on&off (might affect #7596) # Finding displayed maths with ignore-format on&off (might affect #7596)
UseShortcut "C-F23" "math-display" # \Amd ==> math-display
PrepareShortcuts
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
CO: findadv-14.ctrl CO: findadv-14.ctrl
TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1
CN: Part 1 CN: Part 1
KK: \C\[F23] KK: \Amd
KK: x^2 +x^2\C\[Home] KK: x^2 +x^2\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
KK: \C\[F23] KK: \Amd
KK: x^2\[Return] 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 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
# #
@ -21,7 +20,7 @@ KK: \[Escape]\C\[Home]
CP: Key (queried) [action=buffer-begin][Ctrl+Home] CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \CF KK: \CF
KK: \[Delete] KK: \[Delete]
KK: \C\[F23] KK: \Amd
KK: x^2\[Return]\[Return] KK: x^2\[Return]\[Return]
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: 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 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
@ -33,7 +32,7 @@ CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \CF KK: \CF
KK: \[Delete] KK: \[Delete]
KK: \At\Ai\Ah KK: \At\Ai\Ah
KK: \C\[F23] KK: \Amd
KK: x^2\[Return] 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 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
@ -43,7 +42,7 @@ KK: \[Escape]\C\[Home]
CP: Key (queried) [action=buffer-begin][Ctrl+Home] CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \CF KK: \CF
KK: \[Delete] KK: \[Delete]
KK: \C\[F23] KK: \Amd
KK: x^2\[Return]\[Return] KK: x^2\[Return]\[Return]
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: 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 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1

View File

@ -554,7 +554,7 @@ lyx_window_name = os.environ.get('LYX_WINDOW_NAME')
lyx_other_window_name = None lyx_other_window_name = None
screenshot_out = os.environ.get('SCREENSHOT_OUT') screenshot_out = os.environ.get('SCREENSHOT_OUT')
lyx_userdir = os.environ.get('LYX_USERDIR') lyx_userdir = os.environ.get('LYX_USERDIR')
lyx_userdir_ver = os.environ.get('LYX_USERDIR_23x') lyx_userdir_ver = os.environ.get('LYX_USERDIR_24x')
if lyx_userdir is None: if lyx_userdir is None:
lyx_userdir = lyx_userdir_ver lyx_userdir = lyx_userdir_ver

View File

@ -54,13 +54,13 @@ Format 4
# Paragraph menu # Paragraph menu
# #
\bind "M-o l" "paragraph-params \align left" #\bind "M-o l" "paragraph-params \align left"
\bind "M-o r" "paragraph-params \align right" #\bind "M-o r" "paragraph-params \align right"
\bind "M-o c" "paragraph-params \align center" #\bind "M-o c" "paragraph-params \align center"
# It's called Justified in the UI # It's called Justified in the UI
\bind "M-o j" "paragraph-params \align block" \bind "M-o j" "paragraph-params \align block"
\bind "M-o e" "paragraph-params \align default" #\bind "M-o e" "paragraph-params \align default"
\bind "M-o i" "paragraph-params \indent-toggle" #\bind "M-o i" "paragraph-params \indent-toggle"
\bind "M-o s" "paragraph-params \paragraph_spacing single" \bind "M-o s" "paragraph-params \paragraph_spacing single"
# #
@ -89,9 +89,46 @@ Format 4
\bind "M-o ~S-4" "layout Subsubsection" \bind "M-o ~S-4" "layout Subsubsection"
\bind "M-o ~S-5" "layout Paragraph" \bind "M-o ~S-5" "layout Paragraph"
\bind "M-o ~S-6" "layout Subparagraph" \bind "M-o ~S-6" "layout Subparagraph"
\bind "M-o ~S-9" "layout Standard"
\bind "M-o ~S-asterisk ~S-0" "layout Part*" \bind "M-o ~S-asterisk ~S-0" "layout Part*"
\bind "M-o ~S-asterisk ~S-1" "layout Chapter*" \bind "M-o ~S-asterisk ~S-1" "layout Chapter*"
\bind "M-o ~S-asterisk ~S-2" "layout Section*" \bind "M-o ~S-asterisk ~S-2" "layout Section*"
\bind "M-o ~S-asterisk ~S-3" "layout Subsection*"
\bind "M-o ~S-asterisk ~S-4" "layout Subsubsection*"
\bind "M-o ~S-asterisk ~S-5" "layout Paragraph*"
\bind "M-o ~S-asterisk ~S-6" "layout Subparagraph*"
\bind "M-o a" "layout Abstract"
\bind "M-o S-A" "layout Author"
\bind "M-o M-a" "layout Address"
\bind "M-o C-a" "layout Right_Address"
\bind "M-o b" "layout Itemize" # bulleted list
\bind "M-o S-B" "layout Bibliography"
\bind "M-o c" "layout LyX-Code"
\bind "M-o S-C" "layout Comment"
\bind "M-o d" "layout Description"
\bind "M-o S-D" "layout Date"
\bind "M-o e" "layout Enumerate" # numbered list
\bind "M-o f" "layout ShortFoilhead" # Foils!!
\bind "M-o S-F" "layout Foilhead" # Foils!!
\bind "M-o i" "layout Itemize" # bulleted list
\bind "M-o l" "layout List"
\bind "M-o S-L" "layout LaTeX"
\bind "M-o n" "layout Enumerate" # numbered list
\bind "M-o q" "layout Quote"
\bind "M-o S-Q" "layout Quotation"
\bind "M-o r" "layout ShortRotatefoilhead" # Foils!!
\bind "M-o S-R" "layout Rotatefoilhead" # Foils!!
\bind "M-o t" "layout Title"
\bind "M-o space" "drop-layouts-choice"
\bind "M-o v" "layout Verse"
\bind "M-o Left" "outline-out"
\bind "M-o Right" "outline-in"
\bind "M-o Up" "outline-up"
\bind "M-o Down" "outline-down"
\bind "M-o Return" "command-alternatives environment-split ; environment-split previous"
\bind "M-o S-Return" "environment-split outer"
# #
# Clashes # Clashes