Preferences/ConfigurationPages/EditorCalltipsPage.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3010
befeff46ec0f
child 3058
0a02c433f52d
--- a/Preferences/ConfigurationPages/EditorCalltipsPage.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorCalltipsPage.py	Fri Oct 18 23:00:41 2013 +0200
@@ -52,8 +52,9 @@
             Preferences.getEditor("CallTipsScintillaOnFail"))
         
         if QSCINTILLA_VERSION() >= 0x020700:
-            self.positionComboBox.setCurrentIndex(self.positionComboBox.findData(
-                Preferences.getEditor("CallTipsPosition")))
+            self.positionComboBox.setCurrentIndex(
+                self.positionComboBox.findData(
+                    Preferences.getEditor("CallTipsPosition")))
         
     def save(self):
         """
@@ -71,7 +72,8 @@
         
         if QSCINTILLA_VERSION() >= 0x020700:
             Preferences.setEditor("CallTipsPosition",
-                self.positionComboBox.itemData(self.positionComboBox.currentIndex()))
+                self.positionComboBox.itemData(
+                    self.positionComboBox.currentIndex()))
 
 
 def create(dlg):
@@ -79,6 +81,7 @@
     Module function to create the configuration page.
     
     @param dlg reference to the configuration dialog
+    @return reference to the instantiated page (ConfigurationPageBase)
     """
     page = EditorCalltipsPage()
     return page

eric ide

mercurial