Sat, 23 Mar 2013 16:03:22 +0100
Added a line to the editor to reset the lexer after a file was saved to a project (in order to apply project specific lexer settings).
QScintilla/Editor.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Editor.py Fri Mar 22 18:49:35 2013 +0100 +++ b/QScintilla/Editor.py Sat Mar 23 16:03:22 2013 +0100 @@ -2819,6 +2819,7 @@ if self.project.isOpen() and self.project.startswithProjectPath(fn): self.project.appendFile(self.fileName) self.addedToProject() + self.setLanguage(self.fileName) self.lastModified = QFileInfo(self.fileName).lastModified() if newName is not None: