QScintilla/SpellCheckingDialog.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/QScintilla/SpellCheckingDialog.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/SpellCheckingDialog.py	Fri Mar 11 16:51:57 2011 +0100
@@ -14,11 +14,12 @@
 
 import Utilities
 
+
 class SpellCheckingDialog(QDialog, Ui_SpellCheckingDialog):
     """
     Class implementing the spell checking dialog.
     """
-    def __init__(self, spellChecker, startPos, endPos, parent = None):
+    def __init__(self, spellChecker, startPos, endPos, parent=None):
         """
         Constructor
         """
@@ -60,8 +61,8 @@
         lcontext, rcontext = self.__spell.getContext(self.wordStart, self.wordEnd)
         self.changeEdit.setText(self.word)
         self.contextLabel.setText('{0}<font color="#FF0000">{1}</font>{2}'.format(
-                                    Utilities.html_encode(lcontext), 
-                                    self.word, 
+                                    Utilities.html_encode(lcontext),
+                                    self.word,
                                     Utilities.html_encode(rcontext)))
         suggestions = self.__spell.getSuggestions(self.word)
         self.suggestionsList.clear()

eric ide

mercurial