Tue, 26 Jul 2011 19:59:55 +0200
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: