QScintilla/Editor.py

changeset 3865
425bce508cf4
parent 3863
472eb955ff9c
child 3971
b78b17dbdcef
--- a/QScintilla/Editor.py	Sun Oct 12 16:17:30 2014 +0200
+++ b/QScintilla/Editor.py	Sun Oct 12 17:03:59 2014 +0200
@@ -1945,15 +1945,6 @@
                     index2 = self.breakpointModel.index(index1.row(), 1)
                     self.breakpointModel.setData(index2, line)
                 self.inLinesChanged = False
-        elif mtype & self.SC_MOD_CHANGEANNOTATION:
-            vsb = self.verticalScrollBar()
-            vsbMax = vsb.maximum()
-            vsbValue = vsb.value()
-            self.__annotationLines += annotationLinesAdded
-            vsb.setMaximum(max(self.lines() + self.__annotationLines - 
-                               self.linesOnScreen(), 0))
-            if vsbValue == vsbMax:
-                vsb.setValue(vsb.maximum())
         
     def __restoreBreakpoints(self):
         """

eric ide

mercurial