--- a/QScintilla/SpellingDictionaryEditDialog.py Tue Oct 15 22:03:54 2013 +0200 +++ b/QScintilla/SpellingDictionaryEditDialog.py Fri Oct 18 23:00:41 2013 +0200 @@ -19,7 +19,8 @@ class SpellingDictionaryEditDialog(QDialog, Ui_SpellingDictionaryEditDialog): """ - Class implementing a dialog to edit the various spell checking dictionaries. + Class implementing a dialog to edit the various spell checking + dictionaries. """ def __init__(self, data, info, parent=None): """ @@ -42,7 +43,8 @@ self.__proxyModel.setSourceModel(self.__model) self.wordList.setModel(self.__proxyModel) - self.searchEdit.textChanged.connect(self.__proxyModel.setFilterFixedString) + self.searchEdit.textChanged.connect( + self.__proxyModel.setFilterFixedString) self.removeButton.clicked[()].connect(self.wordList.removeSelected) self.removeAllButton.clicked[()].connect(self.wordList.removeAll) @@ -53,7 +55,8 @@ Private slot to handle adding an entry. """ self.__model.insertRow(self.__model.rowCount()) - self.wordList.edit(self.__proxyModel.index(self.__model.rowCount() - 1, 0)) + self.wordList.edit( + self.__proxyModel.index(self.__model.rowCount() - 1, 0)) def getData(self): """ @@ -61,4 +64,5 @@ @return data of the dialog (string) """ - return os.linesep.join([line for line in self.__model.stringList() if line]) + return os.linesep.join( + [line for line in self.__model.stringList() if line])