Fixed an issue causing the lexer not to be unregistered upon plugin deactivation. eric7 release-10.2.1

Fri, 09 Dec 2022 16:56:42 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 09 Dec 2022 16:56:42 +0100
branch
eric7
changeset 55
51942cec15c0
parent 54
c6daa193660e
child 56
bfb3a7a20a2a

Fixed an issue causing the lexer not to be unregistered upon plugin deactivation.

ChangeLog file | annotate | diff | comparison | revisions
PluginProjectKivy.py file | annotate | diff | comparison | revisions
PluginProjectKivy.zip file | annotate | diff | comparison | revisions
--- a/ChangeLog	Sat Nov 26 17:53:36 2022 +0100
+++ b/ChangeLog	Fri Dec 09 16:56:42 2022 +0100
@@ -1,5 +1,8 @@
 ChangeLog
 ---------
+Version 10.2.1:
+- bug fix
+
 Version 10.2.0:
 - adapted to the project browser changes as of eric 22.12
 
--- a/PluginProjectKivy.py	Sat Nov 26 17:53:36 2022 +0100
+++ b/PluginProjectKivy.py	Fri Dec 09 16:56:42 2022 +0100
@@ -23,7 +23,7 @@
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
 autoactivate = True
 deactivateable = True
-version = "10.2.0"
+version = "10.2.1"
 className = "ProjectKivyPlugin"
 packageName = "ProjectKivy"
 shortDescription = "Project support for Kivy projects."
@@ -150,7 +150,7 @@
 
         self.__ericProject.unregisterProjectType("Kivy")
 
-        Lexers.unregisterLexer("Kivy")
+        Lexers.unregisterLexer("Pygments|Kivy")
         if self.KivyLexerKey in LEXERS:
             del LEXERS[self.KivyLexerKey]
 
Binary file PluginProjectKivy.zip has changed

eric ide

mercurial