Avoid that lines are look like they where doubled and sometimes even Python crashes. 6_0_x

Sun, 23 Aug 2015 11:00:13 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 23 Aug 2015 11:00:13 +0200
branch
6_0_x
changeset 4387
ae285de49fcf
parent 4381
bde46f229e2c
child 4389
71cec460a5f3

Avoid that lines are look like they where doubled and sometimes even Python crashes.
(grafted from a65947c8832da9084b390ddf21d002346ad2cd1d)

QScintilla/Editor.py file | annotate | diff | comparison | revisions
diff -r bde46f229e2c -r ae285de49fcf QScintilla/Editor.py
--- a/QScintilla/Editor.py	Sat Aug 22 17:15:01 2015 +0200
+++ b/QScintilla/Editor.py	Sun Aug 23 11:00:13 2015 +0200
@@ -1663,8 +1663,6 @@
         """
         if not m and self.fileName is not None:
             self.lastModified = QFileInfo(self.fileName).lastModified()
-        if Preferences.getEditor("AutoCheckSyntax"):
-            self.clearSyntaxError()
         self.modificationStatusChanged.emit(m, self)
         self.undoAvailable.emit(self.isUndoAvailable())
         self.redoAvailable.emit(self.isRedoAvailable())

eric ide

mercurial