--- a/QScintilla/Editor.py Tue Jan 14 19:37:22 2014 +0100 +++ b/QScintilla/Editor.py Tue Jan 14 19:51:24 2014 +0100 @@ -5020,6 +5020,7 @@ msg = err.msg self.toggleSyntaxError(err.lineno, True, msg) elif self.isPy2File() and self.fileName is not None: + # FIXME: make this work with the current text syntaxError, _fn, errorline, errorindex, _code, _error, \ warnings = Utilities.py2compile( self.fileName,