Remove old FIXME
This commit is contained in:
parent
69e972e275
commit
9d42bfa7cb
@ -255,7 +255,6 @@ class CompletionItemDelegate(QStyledItemDelegate):
|
|||||||
cur.setPosition(mark[1], QTextCursor.KeepAnchor)
|
cur.setPosition(mark[1], QTextCursor.KeepAnchor)
|
||||||
txt = cur.selectedText()
|
txt = cur.selectedText()
|
||||||
cur.removeSelectedText()
|
cur.removeSelectedText()
|
||||||
# FIXME escape html in txt
|
|
||||||
cur.insertHtml('<span class="highlight">{}</span>'.format(
|
cur.insertHtml('<span class="highlight">{}</span>'.format(
|
||||||
html.escape(txt)))
|
html.escape(txt)))
|
||||||
doc.drawContents(self.painter, clip)
|
doc.drawContents(self.painter, clip)
|
||||||
|
Loading…
Reference in New Issue
Block a user