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

List:       kwrite-devel
Subject:    Re: kdelibs/kate/part
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2005-04-07 21:48:21
Message-ID: 200504072348.21155.dhdev () gmx ! de
[Download RAW message or body]

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.

-- 
Dominik
_______________________________________________
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