Am Donnerstag, 2. August 2018 22:56:50 CEST schrieb Kornel Benko 
<kor...@lyx.org>:
> commit a96845660eccd9feee738e56215377ac14a41ceb
> Author: Kornel Benko <kor...@lyx.org>
> Date:   Thu Aug 2 22:51:36 2018 +0200
> 
>     Do not increment start for find(phrase) while looping over phrases
>     
>     The increment will be done at the end of the for-loop.
> ---
>  lib/lyx2lyx/lyx_2_2.py |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py
> index 5f21a7c..d8d9ab6 100644
> --- a/lib/lyx2lyx/lyx_2_2.py
> +++ b/lib/lyx2lyx/lyx_2_2.py
> @@ -758,7 +758,6 @@ def convert_phrases(document):
>          for phrase in phrases:
>              j = document.body[i].find(phrase)
>              if j == -1:
> -                i += 1
>                  continue
>              if not is_part_of_converted_phrase(document.body[i], j, phrase):
>                  front = document.body[i][:j]
> 

Candidate for 2.3.x

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to