--- 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 = ""