2011-07-12 15:42:20 +00:00
|
|
|
# Avoiding recursive replacements when replaced text matches search pattern
|
|
|
|
# Addresses #7675.
|
|
|
|
#
|
|
|
|
Lang it_IT.utf8
|
2011-07-12 15:55:32 +00:00
|
|
|
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-20.loga.txt 2>&1
|
2011-07-12 15:42:20 +00:00
|
|
|
KK: a a a\C\[Home]
|
|
|
|
KK: \CF
|
|
|
|
KK: a\[Tab]
|
|
|
|
KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
|
|
|
|
KK: \Cs
|
2017-04-25 15:34:56 +00:00
|
|
|
KK: \Axbuffer-export latex\[Return]
|
2011-07-12 15:42:20 +00:00
|
|
|
TestEnd
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang C
|
2011-07-12 15:42:20 +00:00
|
|
|
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex
|
2011-07-12 15:55:32 +00:00
|
|
|
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang it_IT.utf8
|
2017-05-09 19:08:52 +00:00
|
|
|
TestBegin test2.lyx -dbg key,find > findadv-20.logb.txt 2>&1
|
2011-07-12 15:55:32 +00:00
|
|
|
KK: \Cma \Cma \Cma \C\[Home]
|
|
|
|
KK: \CF
|
|
|
|
KK: a\[Tab]
|
|
|
|
KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
|
|
|
|
KK: \Cs
|
2017-04-25 15:34:56 +00:00
|
|
|
KK: \Axbuffer-export latex\[Return]
|
2011-07-12 15:55:32 +00:00
|
|
|
TestEnd
|
2015-03-09 08:41:34 +00:00
|
|
|
Lang C
|
2011-07-12 15:55:32 +00:00
|
|
|
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$' test2.tex
|