2013-04-28 23:48:43 +00:00
|
|
|
# Finding regexps within \frac{}
|
2014-02-24 12:57:02 +00:00
|
|
|
# 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).
|
2013-04-28 23:48:43 +00:00
|
|
|
|
|
|
|
Lang it_IT.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-re-05.loga.txt 2>&1
|
2013-04-28 23:48:43 +00:00
|
|
|
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
|
|
|
|
KK: \CF
|
2017-05-12 09:22:05 +00:00
|
|
|
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]
|
2017-05-10 22:00:42 +00:00
|
|
|
# After the message about reaching the end of buffer, lyx
|
|
|
|
# loses focus :(
|
|
|
|
# so no more keys can be sent to lyx
|
|
|
|
TestEndWithKill
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang C
|
2017-05-07 11:45:48 +00:00
|
|
|
Assert pcregrep 'raggiunta la fine cercando in avanti' findadv-re-05.loga.txt
|