mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-15 17:53:04 +00:00
ac5534827e
Cmake key-tests: These are very touchy in respect to timings 1.) Try to use shortcuts instead of direct command 2.) use bigger pause where needed
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
# Finding regexps within \frac{}
|
|
# From what I understand, the point of the test is that search should _not_
|
|
# match in this case because "ignore format" is checked by default. Thus, a
|
|
# way of testing that there was no match is to check whether the wrap around
|
|
# message shows up, because the cursor is initially at the beginning so that
|
|
# would mean that the entire buffer was checked. This test is still fragile:
|
|
# It will fail if the Italian translation changes, if "ignore format" is
|
|
# unchecked by default, or if the wrap-around mechanism changes (e.g. does not
|
|
# ask if the cursor started at the beginning of the buffer).
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
PrepareShortcuts
|
|
|
|
Lang it_IT.utf8
|
|
CO: findadv-re-05.ctrl
|
|
TestBegin test.lyx -dbg key,find > findadv-re-05.loga.txt 2>&1
|
|
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
|
|
KK: \CF
|
|
KK: \Cm\\frac \C\[F20].* \[Down]1+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: raggiunta la fine cercando in avanti
|
|
TestEnd
|
|
Lang C
|
|
Assert searchPatterns.pl base=findadv-re-05
|