> On Thursday 07 April 2005 21:59, Christoph Cullmann wrote: >> CVS commit by cullmann: >> >> ha, there we go, wrong int -><- uint conversion caused all that sluggish >> scrolling at the first few lines ;) yeah, please test + backport, >> perhaps >> that are too much (int), but it at least shows the signedness >> CCMAIL:kwrite-devel@kde.org >> >> >> M +5 -1 kateviewinternal.cpp 1.347 >> >> >> --- kdelibs/kate/part/kateviewinternal.cpp #1.346:1.347 >> @@ -426,5 +426,9 @@ void KateViewInternal::scrollPos(KateTex >> // only calculate if this is really used and usefull, could be wrong >> here, please recheck // for larger scrolls this makes 2-4 seconds >> difference on my xeon with dyn. word wrap on - bool >> viewLinesScrolledUsable = !force && ((uint)c.line() >= >> startLine()-linesDisplayed()-1) && ((uint)c.line() <= >> endLine()+linesDisplayed()+1); + // try to get it really working ;) >> + bool viewLinesScrolledUsable = !force >> + && (c.line() >= >> (int)startLine()-(int)linesDisplayed()-1) + >> && (c.line() <= (int)endLine()+(int)linesDisplayed()+1); + >> if (viewLinesScrolledUsable) >> viewLinesScrolled = displayViewLine(c); > > hm, I don't know what bug I am supposed to see, so I can neither test nor > backport. open for example katedocument.cpp, scroll down via cursor key, the first,as soon as the view scrolls this is slow, until you scrolled away the whole first visible page, than it is fast again, this is solved with this fix -- Christoph Cullmann KDE Developer, kde.org Maintainance Team http://www.babylon2k.de, cullmann@kde.org _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel