Preferences/ConfigurationPages/EditorAPIsPage.py

changeset 3025
67064c71df21
parent 3020
542e97d4ecb3
child 3038
7fe9a53280bd
child 3058
0a02c433f52d
--- a/Preferences/ConfigurationPages/EditorAPIsPage.py	Tue Oct 15 19:13:32 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorAPIsPage.py	Wed Oct 16 15:16:54 2013 +0200
@@ -46,8 +46,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)
@@ -61,7 +61,8 @@
         """
         Public slot to save the Editor APIs configuration.
         """
-        Preferences.setEditor("AutoPrepareAPIs",
+        Preferences.setEditor(
+            "AutoPrepareAPIs",
             self.apiAutoPrepareCheckBox.isChecked())
         
         lang = self.apiLanguageComboBox.currentText()

eric ide

mercurial