2011-02-06 22:48:54 +00:00
|
|
|
# Basic test for searching with par-style awareness
|
2021-01-17 13:30:34 +00:00
|
|
|
UseShortcut "C-F20" "layout Part"
|
|
|
|
UseShortcut "C-F21" "layout Chapter"
|
|
|
|
UseShortcut "C-F22" "layout Section"
|
|
|
|
UseShortcut "C-F23" "layout Subsection"
|
|
|
|
UseShortcut "C-F24" "layout Subsubsection"
|
|
|
|
UseShortcut "C-F25" "layout Paragraph"
|
|
|
|
UseShortcut "C-F26" "layout Subparagraph"
|
|
|
|
UseShortcut "C-F29" "layout Standard"
|
|
|
|
UseShortcut "C-F30" "layout Itemize"
|
|
|
|
|
|
|
|
PrepareShortcuts
|
|
|
|
Lang sk_SK.utf8
|
|
|
|
CO: findadv-06.ctrl
|
2011-02-06 22:48:54 +00:00
|
|
|
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang sk_SK.utf8
|
2017-05-17 10:12:55 +00:00
|
|
|
CO: findadv-07.ctrl
|
2017-05-24 14:29:32 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-07.loga.txt 2>&1
|
2018-10-28 18:40:14 +00:00
|
|
|
KD: 100
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 1
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: foo bar\[Return]
|
2015-03-09 08:41:34 +00:00
|
|
|
#select itemized
|
2021-01-17 13:30:34 +00:00
|
|
|
KK: \C\[F30]
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: foo bar\[Return]
|
2021-01-17 13:30:34 +00:00
|
|
|
KK: \C\[F29]
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: foo bar\C\[Home]
|
2015-03-09 08:41:34 +00:00
|
|
|
KK: \Axbuffer-write\[Return]
|
|
|
|
KK: \Axdialog-show findreplaceadv\[Return]
|
2011-02-06 22:48:54 +00:00
|
|
|
# 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
|
2021-01-17 13:30:34 +00:00
|
|
|
KK: \C\[F30]
|
2018-10-28 18:40:14 +00:00
|
|
|
Sleep 1
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: foo\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
|
2011-02-06 22:48:54 +00:00
|
|
|
#
|
2017-05-17 10:12:55 +00:00
|
|
|
CN: Part 2
|
|
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
|
|
KK: \[Escape]\C\[Home]
|
2011-02-06 22:48:54 +00:00
|
|
|
KK: \CF
|
2017-05-17 10:12:55 +00:00
|
|
|
KK: \[Delete]
|
2011-02-06 22:48:54 +00:00
|
|
|
# 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
|
2021-01-17 13:30:34 +00:00
|
|
|
KK: \C\[F30]
|
2018-10-28 18:40:14 +00:00
|
|
|
Sleep 1
|
2015-03-09 08:41:34 +00:00
|
|
|
KK: bar\[Return]
|
2017-05-17 10:12:55 +00:00
|
|
|
CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3
|
2011-02-06 22:48:54 +00:00
|
|
|
TestEnd
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang C
|
2017-05-24 14:29:32 +00:00
|
|
|
Assert searchPatterns.pl base=findadv-07
|