diff -r 10516539f238 -r 0a02c433f52d Preferences/ConfigurationPages/EditorAPIsPage.py --- a/Preferences/ConfigurationPages/EditorAPIsPage.py Fri Oct 18 23:00:41 2013 +0200 +++ b/Preferences/ConfigurationPages/EditorAPIsPage.py Fri Nov 01 15:48:48 2013 +0100 @@ -48,8 +48,8 @@ import QScintilla.Lexers self.apis = {} - apiLanguages = sorted([''] + \ - list(QScintilla.Lexers.getSupportedLanguages().keys())) + apiLanguages = sorted( + [''] + list(QScintilla.Lexers.getSupportedLanguages().keys())) for lang in apiLanguages: if lang != "Guessed": self.apiLanguageComboBox.addItem(lang) @@ -63,7 +63,8 @@ """ Public slot to save the Editor APIs configuration. """ - Preferences.setEditor("AutoPrepareAPIs", + Preferences.setEditor( + "AutoPrepareAPIs", self.apiAutoPrepareCheckBox.isChecked()) lang = self.apiLanguageComboBox.currentText() @@ -182,7 +183,8 @@ QFileInfo(QDir(installedAPIFilesPath), file) .absoluteFilePath())) else: - E5MessageBox.warning(self, + E5MessageBox.warning( + self, self.trUtf8("Add from installed APIs"), self.trUtf8("""There are no APIs installed yet.""" """ Selection is not available."""))