Preferences/ConfigurationPages/EditorAPIsPage.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3025
67064c71df21
child 3060
5883ce99ee12
--- 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."""))

eric ide

mercurial