Remove old FIXME

This commit is contained in:
Florian Bruhin 2014-01-28 07:53:21 +01:00
parent 69e972e275
commit 9d42bfa7cb

View File

@ -255,7 +255,6 @@ class CompletionItemDelegate(QStyledItemDelegate):
cur.setPosition(mark[1], QTextCursor.KeepAnchor)
txt = cur.selectedText()
cur.removeSelectedText()
# FIXME escape html in txt
cur.insertHtml('<span class="highlight">{}</span>'.format(
html.escape(txt)))
doc.drawContents(self.painter, clip)