François Revol wrote (2007-12-11, 12:30:48 [+0100]): > > > > used the OS provided textrendering and it would be more useful if > > > > scrolling > > > > worked smoothly. Anyways, nice work! > > > > > > The scrolling hooks are noops for now, just need to add clipping as > > > the > > > AtheOS code used a clipped scrolling call BeOS doesn't have. > > > > could be added easily in Haiku). Second, using CopyBits() should > > definitely > > do the job, since that can be restricted to certain regions. You just > > need > > to maintain the scrolling offset yourself then, because it is fake > > scrolling and the bounds of the view don't change. > > Right, CopyBits(), I knew it was there, just didn't search for that name > :) > Works perfectly now. > Removed debugging output and it's now blazing fast. I added some handling > for dragging a file to it and pasting text/plain. Works even with utf-8. > Added some defaults. Nice. You forgot to mention you added mouse wheel support too! :-) Very cool! Oh, I mean cewl. Best regards, -Stephan