]> git.lyx.org Git - features.git/commitdiff
Added regression test for #7675 (ensure that after replacing multi-cell math contents...
authorTommaso Cucinotta <tommaso@lyx.org>
Tue, 12 Jul 2011 15:42:20 +0000 (15:42 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Tue, 12 Jul 2011 15:42:20 +0000 (15:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39279 a592a061-630c-0410-9148-cb99ea01b6c8

development/autotests/findadv-20-in.txt [new file with mode: 0644]

diff --git a/development/autotests/findadv-20-in.txt b/development/autotests/findadv-20-in.txt
new file mode 100644 (file)
index 0000000..5f6e468
--- /dev/null
@@ -0,0 +1,14 @@
+# Avoiding recursive replacements when replaced text matches search pattern
+# Addresses #7675.
+#
+Lang it_IT.utf8
+TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+KK: a a a\C\[Home]
+KK: \CF
+KK: a\[Tab]
+KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
+KK: \Cs
+KK: \Ax
+KK: buffer-export latex\[Return]
+TestEnd
+Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex