--- a/QScintilla/QsciScintillaCompat.py Thu Sep 03 19:15:51 2015 +0200 +++ b/QScintilla/QsciScintillaCompat.py Thu Sep 03 23:01:02 2015 +0200 @@ -1467,6 +1467,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 ###########################################################################