lyx_mirror/development/autotests/findadv-20-in.txt
Juergen Spitzmueller b3b22b0c70 Sync with master
2022-10-26 10:52:21 +02:00

41 lines
920 B
Plaintext

# Avoiding recursive replacements when replaced text matches search pattern
# Addresses #7675.
#
UnuseShortcut "Tab" "*"
PrepareShortcuts
Lang it_IT.utf8
CO: findadv-20.1.ctrl
TestBegin test.lyx -dbg key,find > findadv-20.loga.txt 2>&1
CN: Part 1
KD: 100
KK: a a a\C\[Home]
KK: \CF
KK: a\[Tab]
KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
KK: \Cs
KK: \Axbuffer-export latex\[Return]
CR: \$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a
CC:
TestEnd
Lang it_IT.utf8
CO: findadv-20.2.ctrl
TestBegin test2.lyx -dbg key,find > findadv-20.logb.txt 2>&1
CN: Part 2
KD: 100
KK: \Cma \Cma \Cma \C\[Home]
KK: \CF
KK: a\[Tab]
KK: \Cm\\frac 1\[Down]a\[Return]\[Return]\[Return]
KK: \Cs
KK: \Axbuffer-export latex\[Return]
CR: ^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$
CC:
TestEnd
Lang C
Assert searchPatterns.pl log=test.tex patterns=findadv-20.1.ctrl
Assert searchPatterns.pl log=test2.tex patterns=findadv-20.2.ctrl