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

List:       kde-kant
Subject:    Re: kde-kant digest, Vol 1 #179 - 2 msgs
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-01-12 18:47:25
[Download RAW message or body]

Am Saturday 12 January 2002 18:31 schrieb Christoph Cullmann:
> Am Wednesday 09 January 2002 19:12 schrieb Roland Krause:
> > > Nasty bugs:
> > > - scrollbar not updating if lines are too long, only at first edit of
> > > the line
> >
> > This one has been fixed (numerous times) in the KDevelop-2 kwrite fork.
> > Since the codebases at that level are probably similar, you may want to
> > have a look at KDE_2_2_BRANCH.
>
> As we use now waldos buffer and while file loading the stuff in
> katedocument isn't used (for speed reasons) we need a completly new
> approach for this, I just tried to give the buffer a maxLength() functions
> and a
> maxLengthChanged(int) signal, but my tries failed :( I think this would be
> a real fast and good way to give the buffer such a feature just based on
> the chosen tabwidth + maxWidth of the current font (won't be very exakt,
> but that will make it fast and allways show enough of the bar for the whole
> text. Will try it tomorrow again, if nobody has a better solution.
>
> An other way would be, only show (and set the max value) on base of the
> text shown in the current view (if you scroll down and lines with longer
> text comes in view, the view gets scrollbar, if you scroll back or more
> down to shorter lines, the scrollbar will hide or fit to the now shorter
> maxLength of visible lines), that would be (or should be) fast too, and we
> need no changes in the buffer.
Just implemented this way of updating the bar, do you like it or is it trash ? 
It is at least fast and you can always scroll to the end of all lines in view 
;)

>
> Comments which way you would prefer ?
>
> cu
> Christoph
>
> > Roland
> >
> > > End of kde-kant Digest
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE video emails in Yahoo! Mail!
> > http://promo.yahoo.com/videomail/
> > _______________________________________________
> > kde-kant mailing list
> > kde-kant@
> > http://mail.kde.org/mailman/listinfo/kde-kant
-- 
| Christoph Cullmann
| KDE developer
| cullmann@kde.org
| http://www.kde.org

_______________________________________________
kde-kant mailing list
kde-kant@
http://mail.kde.org/mailman/listinfo/kde-kant
[prev in list] [next in list] [prev in thread] [next in thread] 

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