Fixed another backward compatibility issue in the mini editor. 5_1_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 26 Jul 2011 19:59:55 +0200
branch
5_1_x
changeset 1201
62682782b620
parent 1200
9de155b28f40
child 1202
d8ab3b7966e4

Fixed another backward compatibility issue in the mini editor.
(transplanted from 214fb896770712ad2bcc9aa61ffdb8cbbf68bd1a)

QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/MiniEditor.py	Tue Jul 26 19:57:24 2011 +0200
+++ b/QScintilla/MiniEditor.py	Tue Jul 26 19:59:55 2011 +0200
@@ -2134,10 +2134,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