QScintilla/Editor.py

branch
Py2 comp.
changeset 3525
66f4b8646622
parent 3496
b905cb8c520c
child 3557
3ea8ba471d96
--- a/QScintilla/Editor.py	Mon Apr 21 16:37:10 2014 +0200
+++ b/QScintilla/Editor.py	Mon Apr 21 19:20:27 2014 +0200
@@ -1509,7 +1509,7 @@
                 pyVer = Utilities.determinePythonVersion(
                     filename, self.text(0), self)
                 language = "Python{0}".format(pyVer)
-            if language in ['Python2', 'Python3']:
+            if language in ['Python2', 'Python3', 'Ruby', 'JavaScript']:
                 self.filetype = language
             else:
                 self.filetype = ""

eric ide

mercurial