diff --git a/lib/ChangeLog b/lib/ChangeLog index 5b6f28a09d..4a586013bd 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2002-09-03 Dekel Tsur + + * lyx2lyx/lyxconvert_218.py (update_tabular): Prevent changing + of non-tabular lines. + 2002-09-03 Angus Leeming * scripts/lyxpreview2ppm.sh: re-written to make use of the "lyx" diff --git a/lib/lyx2lyx/lyxconvert_218.py b/lib/lyx2lyx/lyxconvert_218.py index f5ea8b0235..5044ae9225 100644 --- a/lib/lyx2lyx/lyxconvert_218.py +++ b/lib/lyx2lyx/lyxconvert_218.py @@ -404,11 +404,7 @@ def update_tabular(lines): if i == -1: break - j = find_end_of_tabular(lines, i+1) - if j == -1: - break - - for k in xrange(i+1,j): + for k in get_tabular_lines(lines, i): if check_token(lines[k], "