2011-07-12 15:42:20 +00:00
|
|
|
# Avoiding recursive replacements when replaced text matches search pattern
|
|
|
|
# Addresses #7675.
|
|
|
|
#
|
2022-07-27 20:27:59 +02:00
|
|
|
UnuseShortcut "Tab" "*"
|
2022-07-18 22:55:03 +02:00
|
|
|
|
|
|
|
PrepareShortcuts
|
2021-01-29 16:11:16 +01:00
|
|
|
|
2011-07-12 15:42:20 +00:00
|
|
|
Lang it_IT.utf8
|
2011-07-12 15:55:32 +00:00
|
|
|
|
2017-05-17 12:12:55 +02:00
|
|
|
CO: findadv-20.1.ctrl
|
2017-05-24 16:29:32 +02:00
|
|
|
TestBegin test.lyx -dbg key,find > findadv-20.loga.txt 2>&1
|
2017-05-17 12:12:55 +02:00
|
|
|
CN: Part 1
|
2021-01-29 16:11:16 +01:00
|
|
|
KD: 100
|
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 17:34:56 +02:00
|
|
|
KK: \Axbuffer-export latex\[Return]
|
2017-05-17 12:12:55 +02:00
|
|
|
CR: \$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a
|
2017-05-24 16:29:32 +02:00
|
|
|
CC:
|
2011-07-12 15:42:20 +00:00
|
|
|
TestEnd
|
2011-07-12 15:55:32 +00:00
|
|
|
|
2015-03-09 09:41:34 +01:00
|
|
|
Lang it_IT.utf8
|
2017-05-17 12:12:55 +02:00
|
|
|
CO: findadv-20.2.ctrl
|
2017-05-24 16:29:32 +02:00
|
|
|
TestBegin test2.lyx -dbg key,find > findadv-20.logb.txt 2>&1
|
2017-05-17 12:12:55 +02:00
|
|
|
CN: Part 2
|
2021-01-29 16:11:16 +01:00
|
|
|
KD: 100
|
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 17:34:56 +02:00
|
|
|
KK: \Axbuffer-export latex\[Return]
|
2017-05-17 12:12:55 +02:00
|
|
|
CR: ^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$
|
2017-05-24 16:29:32 +02:00
|
|
|
CC:
|
2011-07-12 15:55:32 +00:00
|
|
|
TestEnd
|
2015-03-09 09:41:34 +01:00
|
|
|
Lang C
|
2017-05-17 12:12:55 +02:00
|
|
|
Assert searchPatterns.pl log=test.tex patterns=findadv-20.1.ctrl
|
|
|
|
Assert searchPatterns.pl log=test2.tex patterns=findadv-20.2.ctrl
|