Thu, 19 Sep 2013 19:23:08 +0200
Fixed an issue not switching the programming language, when the file is saved with a changed eflags line.
QScintilla/Editor.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Editor.py Thu Sep 19 18:58:33 2013 +0200 +++ b/QScintilla/Editor.py Thu Sep 19 19:23:08 2013 +0200 @@ -2844,7 +2844,7 @@ self.setWindowTitle(self.fileName) # get eric specific flags self.__processFlags() - if self.lexer_ is None and not self.__lexerReset: + if not self.__lexerReset: self.setLanguage(self.fileName) if saveas: