]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-re-05-in.txt
keytests: more tweaking
[lyx.git] / development / autotests / findadv-re-05-in.txt
1 # Finding regexps within \frac{}
2 # From what I understand, the point of the test is that search should _not_
3 # match in this case because "ignore format" is checked by default.  Thus, a
4 # way of testing that there was no match is to check whether the wrap around
5 # message shows up, because the cursor is initially at the beginning so that
6 # would mean that the entire buffer was checked. This test is still fragile:
7 # It will fail if the Italian translation changes, if "ignore format" is
8 # unchecked by default, or if the wrap-around mechanism changes (e.g. does not
9 # ask if the cursor started at the beginning of the buffer).
10
11 Lang it_IT.utf8
12 TestBegin test.lyx -dbg key,find > findadv-re-05.loga.txt 2>&1
13 KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
14 KK: \CF
15 KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]\[Return]
16 # After the message about reaching the end of buffer, lyx
17 # loses focus :(
18 # so no more keys can be sent to lyx
19 TestEndWithKill
20 Lang C
21 Assert pcregrep 'raggiunta la fine cercando in avanti' findadv-re-05.loga.txt