Preferences/__init__.py

changeset 5919
d0de2b378b24
parent 5914
e44c04a89dbc
child 5928
a3809f75ca07
diff -r d89cd224dd1b -r d0de2b378b24 Preferences/__init__.py
--- a/Preferences/__init__.py	Sat Oct 21 15:13:56 2017 +0200
+++ b/Preferences/__init__.py	Sat Oct 21 15:18:15 2017 +0200
@@ -429,9 +429,6 @@
         "CallTipsScintillaOnFail": False,
         # show QScintilla calltips, if plug-in fails
         
-        "ShowInfoOnOpenParenthesis": True,
-        # TODO: add to editor configuration page
-        
         "AutoCheckSyntax": True,
         "OnlineSyntaxCheck": True,
         "OnlineSyntaxCheckInterval": 5,
@@ -1467,8 +1464,9 @@
     
     # defaults for Code Documentation Viewer
     docuViewerDefaults = {
-        "ShowInfoAsMarkdown": False,
+        "ShowInfoAsRichText": False,
         "Provider": "disabled",
+        "ShowInfoOnOpenParenthesis": True,
     }
 
 
@@ -3576,7 +3574,7 @@
     @param prefClass preferences class used as the storage area
     @return the requested editor colour
     """
-    if key in ["ShowInfoAsMarkdown"]:
+    if key in ["ShowInfoAsRichText", "ShowInfoOnOpenParenthesis"]:
         return toBool(prefClass.settings.value(
             "CodeDocumentationViewer/" + key,
             prefClass.docuViewerDefaults[key]))

eric ide

mercurial