--- a/QScintilla/QsciScintillaCompat.py Sun Sep 06 11:23:53 2015 +0200 +++ b/QScintilla/QsciScintillaCompat.py Thu Sep 03 23:01:02 2015 +0200 @@ -1338,6 +1338,15 @@ """ self.activateWindow() + def updateVerticalScrollBar(self): + """ + Public method to update the vertical scroll bar to reflect the + additional lines added by annotations. + """ + # Workaround because Scintilla.Redraw isn't implemented + self.SendScintilla(QsciScintilla.SCI_SETVSCROLLBAR, 0) + self.SendScintilla(QsciScintilla.SCI_SETVSCROLLBAR, 1) + ########################################################################### ## utility methods ###########################################################################