Fixed another backward compatibility issue in the mini editor.

Tue, 26 Jul 2011 19:59:55 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 26 Jul 2011 19:59:55 +0200
changeset 1198
214fb8967707
parent 1197
59fa9eae9123
child 1199
d3d4790602f2

Fixed another backward compatibility issue in the mini editor.

QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
diff -r 59fa9eae9123 -r 214fb8967707 QScintilla/MiniEditor.py
--- a/QScintilla/MiniEditor.py	Tue Jul 26 19:57:24 2011 +0200
+++ b/QScintilla/MiniEditor.py	Tue Jul 26 19:59:55 2011 +0200
@@ -2149,10 +2149,10 @@
                 self.filetype = "Python3"
             elif "python2" in line0:
                 bindName = "dummy.py"
-                self.filetype = "Python"
+                self.filetype = "Python2"
             elif "python" in line0:
                 bindName = "dummy.py"
-                self.filetype = "Python"
+                self.filetype = "Python2"
             elif ("/bash" in line0 or "/sh" in line0):
                 bindName = "dummy.sh"
             elif "ruby" in line0:

eric ide

mercurial