Phil Thompson <phil@...> writes: > > On 03/09/2014 7:02 pm, Detlev Offenbach wrote: > > On Tuesday 02 September 2014, 19:06:46 Phil Thompson wrote: > >> On 21/08/2014 11:33 am, Detlev Offenbach wrote: > >> > Hi, > >> > > >> > I think QScintilla doesn't take into account the additional lines > >> > needed > >> > by annotations when determining the length of the vertical scroll bar. > >> > This leads to the fact, that the bottom most lines cannot be scrolled > >> > to. That is particularly distracting, if you are editing at or near the > >> > end > >> > of a file. > >> > >> I can't reproduce this. I'm adding an annotation to the current line > >> when I press a particular function key but can still scroll to make > >> any > >> line visible. > > > > I can scroll using the cursor keys. However, the scrollbar range is > > too small. It seems, that the > > annotation is not accounted for when calculating the scrollbar range. > > I'm scrolling with the scrollbar which noticeably changes when the > annotation is added. > > Phil > _______________________________________________ > QScintilla mailing list > QScintilla <at> riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/qscintilla >
I'm still seeing this problem using QScintilla in the version 3.5.1 release of Scintilla. I tried to set the maximum to allow for the new annotations by calling verticalScrollBar()->setMaximum(newMaximum) but this seems to cause other bad behavior when using the scroll bar to scroll up one line at a time (the view jumps a couple lines or gets stuck for a few clicks). Is there a fix that's missing from this version of Scintilla? Joe _______________________________________________ QScintilla mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/qscintilla
