added comment

This commit is contained in:
Andreas Preikschat 2013-12-29 21:18:22 +01:00
parent 4c145071af
commit 8975fec06e

View File

@ -183,6 +183,8 @@ class Highlighter(QtGui.QSyntaxHighlighter):
def highlightBlock(self, text):
"""
Highlight misspelt words in a block of text.
Note, this is a Qt hook.
"""
if not self.spelling_dictionary:
return