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).
(grafted from 495777476cc4cd77a7aca6f7c7927a94940964fe)
QScintilla/Editor.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/Editor.py Fri Mar 22 18:37:53 2013 +0100 +++ b/QScintilla/Editor.py Sat Mar 23 16:03:22 2013 +0100 @@ -2843,6 +2843,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: