comment debug output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17169 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2007-02-13 19:55:56 +00:00
parent 1b21743511
commit e24eeddb96

View File

@ -65,7 +65,7 @@ def complete(lines, start, stop):
for i in range(start, stop): for i in range(start, stop):
# This catches both comments (lines[l][0] == -1) and code points less than i # This catches both comments (lines[l][0] == -1) and code points less than i
while l < len(lines) and lines[l][0] < i: while l < len(lines) and lines[l][0] < i:
print lines[l] # print lines[l]
l = l + 1 l = l + 1
continue continue
if l >= len(lines) or lines[l][0] != i: if l >= len(lines) or lines[l][0] != i:
@ -78,7 +78,7 @@ def complete(lines, start, stop):
combining = "" combining = ""
line = [i, '#0x%04x "" "" "%s" # %s' % (i, combining, name)] line = [i, '#0x%04x "" "" "%s" # %s' % (i, combining, name)]
lines.insert(l, line) lines.insert(l, line)
print lines[l] # print lines[l]
l = l + 1 l = l + 1