Corrected the Pygments related language. release-7.0.1

Fri, 11 Sep 2020 17:36:10 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Sep 2020 17:36:10 +0200
changeset 337
cfff39f4594d
parent 336
e2f9518e5490
child 338
36d6cd8fdb34

Corrected the Pygments related language.

ChangeLog file | annotate | diff | comparison | revisions
PluginRefactoringRope.py file | annotate | diff | comparison | revisions
PluginRefactoringRope.zip file | annotate | diff | comparison | revisions
RefactoringRope/CodeAssistServer.py file | annotate | diff | comparison | revisions
--- a/ChangeLog	Mon Jun 22 18:08:30 2020 +0200
+++ b/ChangeLog	Fri Sep 11 17:36:10 2020 +0200
@@ -1,6 +1,9 @@
 ChangeLog
 ---------
-Version 7.0.0
+Version 7.0.1:
+- bug fixes
+
+Version 7.0.0:
 - removed support for Python2
 
 Version 6.12.1:
--- a/PluginRefactoringRope.py	Mon Jun 22 18:08:30 2020 +0200
+++ b/PluginRefactoringRope.py	Fri Sep 11 17:36:10 2020 +0200
@@ -23,7 +23,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "7.0.0"
+version = "7.0.1"
 className = "RefactoringRopePlugin"
 packageName = "RefactoringRope"
 internalPackages = "rope"
@@ -302,7 +302,8 @@
         @return list of valid language strings
         @rtype list of str
         """
-        return ["Python3", "Pygments|Python 3", "MicroPython"]
+        return ["Python3", "MicroPython",
+                "Pygments|Python", "Pygments|Python 2.x"]
     
     def __editorOpened(self, editor):
         """
Binary file PluginRefactoringRope.zip has changed
--- a/RefactoringRope/CodeAssistServer.py	Mon Jun 22 18:08:30 2020 +0200
+++ b/RefactoringRope/CodeAssistServer.py	Fri Sep 11 17:36:10 2020 +0200
@@ -120,8 +120,9 @@
             if name == "Python3":
                 self.__editorLanguageMapping.update({
                     "Python3": "Python3",
-                    "Pygments|Python 3": "Python3",
                     "MicroPython": "Python3",
+                    "Pygments|Python": "Python3",
+                    "Pygments|Python 2.x": "Python3",
                 })
     
     def isSupportedLanguage(self, language):

eric ide

mercurial