Removed some obsolete code. eric7

Sat, 17 Jul 2021 15:45:34 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 17 Jul 2021 15:45:34 +0200
branch
eric7
changeset 8469
77e00a1c55bf
parent 8468
57ed532d4cde
child 8471
e1f001ffdce4

Removed some obsolete code.

eric7/Preferences/__init__.py file | annotate | diff | comparison | revisions
eric7/UI/CodeDocumentationViewer.py file | annotate | diff | comparison | revisions
--- a/eric7/Preferences/__init__.py	Sat Jul 17 15:42:09 2021 +0200
+++ b/eric7/Preferences/__init__.py	Sat Jul 17 15:45:34 2021 +0200
@@ -1415,7 +1415,6 @@
     
     # defaults for Code Documentation Viewer
     docuViewerDefaults = {
-        "ShowInfoAsRichText": False,
         "Provider": "disabled",
         "ShowInfoOnOpenParenthesis": True,
     }
@@ -3457,7 +3456,7 @@
     @param prefClass preferences class used as the storage area
     @return the requested Code Documentation Viewer value
     """
-    if key in ["ShowInfoAsRichText", "ShowInfoOnOpenParenthesis"]:
+    if key in ["ShowInfoOnOpenParenthesis"]:
         return toBool(prefClass.settings.value(
             "CodeDocumentationViewer/" + key,
             prefClass.docuViewerDefaults[key]))
--- a/eric7/UI/CodeDocumentationViewer.py	Sat Jul 17 15:42:09 2021 +0200
+++ b/eric7/UI/CodeDocumentationViewer.py	Sat Jul 17 15:45:34 2021 +0200
@@ -235,14 +235,11 @@
         self.verticalLayout.addLayout(self.horizontalLayout1)
         self.verticalLayout.addWidget(self.objectLineEdit)
         
-        # Rich Text (Web) Viewer
+        # Rich Text (Web) Documentation Viewer
         self.__viewerWidget = DocumentationViewerWidget(self)
         self.__viewerWidget.setObjectName("__viewerWidget")
         self.verticalLayout.addWidget(self.__viewerWidget)
         
-        # backward compatibility for plug-ins before 2018-09-17
-        Preferences.setDocuViewer("ShowInfoAsRichText", True)
-        
         self.providerComboBox.currentIndexChanged[int].connect(
             self.on_providerComboBox_currentIndexChanged)
     

eric ide

mercurial