Diff for 2.16 -> 2.17 is only whitespace now

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5114 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2002-08-26 19:00:56 +00:00
parent bee4ac06d8
commit 6894562a13

View File

@ -220,6 +220,8 @@ def set_paragraph_properties(lines, prop_dict):
# remove final char properties
n = len(lines)
changed_prop = []
while n:
n = n - 1
if not lines[n]:
@ -230,6 +232,7 @@ def set_paragraph_properties(lines, prop_dict):
result = prop_exp.match(lines[n])
prop = result.group(1)
if prop in properties:
changed_prop.append(prop)
prop_dict[prop] = result.group(2)
del lines[n]
continue
@ -240,6 +243,13 @@ def set_paragraph_properties(lines, prop_dict):
lines.append('')
break
for line in lines[end:]:
if line[:1] == '\\':
result = prop_exp.match(line)
prop = result.group(1)
if prop in properties and prop not in changed_prop:
prop_dict[prop] = result.group(2)
if not lines[start:] and not lines[end:]:
return []