[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-04-07 19:59:40
Message-ID: 20050407195940.040DA646 () office ! kde ! org
[Download RAW message or body]

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);


_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic