mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
ca40fdc569
keytest.py: This gives the os some time to update the status. All keys with modifier and all possible shortcuts are affected. Shortcut use corrected in findadv-11-in.txt and findadv-17-in.txt
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# Basic test for searching with regular expressions
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
|
|
PrepareShortcuts
|
|
#
|
|
Lang sk_SK.utf8
|
|
CO: findadv-08.ctrl
|
|
TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
|
|
CN: Part 1
|
|
Cr: ^.*Putting
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
KK: Nel mezzo del cammin di nostra vita\[Return]
|
|
KK: mi ritrovai per una selva oscura\C\[Home]
|
|
KK: \Axbuffer-write\[Return]
|
|
KK: \C\[F21]
|
|
KK: o
|
|
KK: \C\[F20]
|
|
KK: .* a\[Return]
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
|
|
#
|
|
CN: Started Part 2
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
KK: \[Escape]\C\[Home]\C\[F21]
|
|
KK: o
|
|
KK: \C\[F20]
|
|
KK: [\\w]* a
|
|
#KD: 100
|
|
# select whole words
|
|
KK: \Ae
|
|
# search next
|
|
KK: \Al
|
|
KK: \[Escape]
|
|
#KD: 1
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
|
|
#
|
|
CN: Part 3
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
KK: \[Escape]\C\[Home]\C\[F21]
|
|
KK: \C\[F20]
|
|
KK: .*
|
|
KK: \[Return]\[Return]\[Return]
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
|
|
TestEnd
|
|
Lang C
|
|
Assert searchPatterns.pl base=findadv-08
|
|
|