Fix for very long texts in a column
svn: r23387
This commit is contained in:
parent
7d67e2bc46
commit
da1eadacd6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user