--- a/Preferences/ConfigurationPages/EditorAPIsPage.py Sat Oct 12 17:31:40 2013 +0200 +++ b/Preferences/ConfigurationPages/EditorAPIsPage.py Sat Oct 12 18:25:29 2013 +0200 @@ -108,7 +108,8 @@ self.addInstalledApiFileButton.setEnabled(False) self.addPluginApiFileButton.setEnabled( - len(self.pluginManager.getPluginApiFiles(self.currentApiLanguage)) > 0) + len(self.pluginManager.getPluginApiFiles(self.currentApiLanguage)) + > 0) def __editorGetApisFromApiList(self): """ @@ -166,7 +167,8 @@ installedAPIFilesPath = QFileInfo(installedAPIFiles[0]).path() installedAPIFilesShort = [] for installedAPIFile in installedAPIFiles: - installedAPIFilesShort.append(QFileInfo(installedAPIFile).fileName()) + installedAPIFilesShort.append( + QFileInfo(installedAPIFile).fileName()) file, ok = QInputDialog.getItem( self, self.trUtf8("Add from installed APIs"), @@ -175,7 +177,8 @@ 0, False) if ok: self.apiList.addItem(Utilities.toNativeSeparators( - QFileInfo(QDir(installedAPIFilesPath), file).absoluteFilePath())) + QFileInfo(QDir(installedAPIFilesPath), file) + .absoluteFilePath())) else: E5MessageBox.warning(self, self.trUtf8("Add from installed APIs"), @@ -189,7 +192,8 @@ Private slot to add an API file from the list of API files installed by plugins for the selected lexer language. """ - pluginAPIFiles = self.pluginManager.getPluginApiFiles(self.currentApiLanguage) + pluginAPIFiles = self.pluginManager.getPluginApiFiles( + self.currentApiLanguage) pluginAPIFilesDict = {} for apiFile in pluginAPIFiles: pluginAPIFilesDict[QFileInfo(apiFile).fileName()] = apiFile @@ -207,7 +211,8 @@ @pyqtSlot() def on_prepareApiButton_clicked(self): """ - Private slot to prepare the API file for the currently selected language. + Private slot to prepare the API file for the currently selected + language. """ if self.__inPreparation: self.__currentAPI and self.__currentAPI.cancelPreparation() @@ -257,7 +262,8 @@ @param state state data generated by saveState """ self.apiLanguageComboBox.setCurrentIndex(state) - self.on_apiLanguageComboBox_activated(self.apiLanguageComboBox.currentText()) + self.on_apiLanguageComboBox_activated( + self.apiLanguageComboBox.currentText()) def create(dlg):