Fix for very long texts in a column

svn: r23387
This commit is contained in:
Doug Blank 2013-10-25 01:18:29 +00:00
parent 7d67e2bc46
commit da1eadacd6

View File

@ -665,6 +665,8 @@ class GtkDocParagraph(GtkDocBaseElement):
markstarts = [] markstarts = []
#index is in bytecode in the text.. !! #index is in bytecode in the text.. !!
while pos < index: while pos < index:
if realpos >= len(oldtext):
break
char = oldtext[realpos] char = oldtext[realpos]
if char == '<' and oldtext[realpos+1] != '/': if char == '<' and oldtext[realpos+1] != '/':
# a markup starts # a markup starts