mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
bfc0b09e0c
There still are keys which do not make it into the lyx logfile. For instance repeated shortcuts.
28 lines
717 B
Plaintext
28 lines
717 B
Plaintext
# Avoiding recursive replacements when replaced text matches search pattern
|
|
# Addresses #7675.
|
|
#
|
|
Lang it_IT.utf8
|
|
|
|
TestBegin test.lyx -dbg key,find > findadv-20.loga.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: \Axbuffer-export latex\[Return]
|
|
TestEnd
|
|
Lang C
|
|
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex
|
|
|
|
Lang it_IT.utf8
|
|
TestBegin test2.lyx -dbg key,find > findadv-20.logb.txt 2>&1
|
|
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]
|
|
TestEnd
|
|
Lang C
|
|
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$' test2.tex
|