Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3010
befeff46ec0f
child 3145
a9de05d4a22f
--- a/Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Preferences/ConfigurationPages/EditorCalltipsQScintillaPage.py	Fri Oct 18 23:00:41 2013 +0200
@@ -44,14 +44,14 @@
         Public slot to save the EditorCalltips configuration.
         """
         if self.ctNoContextButton.isChecked():
-            Preferences.setEditor("CallTipsStyle",
-                                  QsciScintilla.CallTipsNoContext)
+            Preferences.setEditor(
+                "CallTipsStyle", QsciScintilla.CallTipsNoContext)
         elif self.ctNoAutoCompletionButton.isChecked():
-            Preferences.setEditor("CallTipsStyle",
-                                  QsciScintilla.CallTipsNoAutoCompletionContext)
+            Preferences.setEditor(
+                "CallTipsStyle", QsciScintilla.CallTipsNoAutoCompletionContext)
         elif self.ctContextButton.isChecked():
-            Preferences.setEditor("CallTipsStyle",
-                                  QsciScintilla.CallTipsContext)
+            Preferences.setEditor(
+                "CallTipsStyle", QsciScintilla.CallTipsContext)
 
 
 def create(dlg):
@@ -59,6 +59,7 @@
     Module function to create the configuration page.
     
     @param dlg reference to the configuration dialog
+    @return reference to the instantiated page (ConfigurationPageBase)
     """
     page = EditorCalltipsQScintillaPage()
     return page

eric ide

mercurial