Article View: news.software.readers
Article #75485Re: [Xnews] Crash bug
From: Robert Amesz
Date: Thu, 05 Apr 2001 13:55
Date: Thu, 05 Apr 2001 13:55
28 lines
2474 bytes
2474 bytes
Luu Tran wrote: >prupe@nc.rr.invalid (Paul Rupe) wrote in ><8Bey6.2189$uo6.803739@typhoon.southeast.rr.com>: > >> [Fixing Bad Wraps] > >Currently, I pretty much only look one line ahead. (I'm doing this >as the data is coming down the pipe.) To really do it right, I need >to look at least an entire paragraph, which will slow down the >display. Of course people are already complaining b/c the article >doesn't show up as fast as it used to. Perhaps you should profile your code, but my bet is that the slow display is for 95%+ due to the richedit-control. A few lines lookahead shouldn't make any difference. In fact, it might speed up the display (of level 1 quoted text, anyway) as you dont add text to that control in small pieces, but in larger blocks. Just from looking at the flicker on the screen while it's being painted I have the impression that every time you add something the window is invalidated, and most of the background gets repainted. Perhaps monitoring the stream of WM_PAINT messages and suppressing the unnecessary ones will speed things up. Just a thought. Robert Amesz
Technical Details
Message-ID:
<Xns907AA1BA7C30Ercamesz@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!grolier!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mailReferences:
<pK4y6.226$uo6.45599@typhoon.southeast.rr.com> <Xns9077E824DBF5Cluutrangeocities@206.13.28.182> <8Bey6.2189$uo6.803739@typhoon.southeast.rr.com> <Xns9078D9C99929Eluutrangeocities@206.13.28.182>Show Full Headers
Complete Article Headers
Message-ID: <Xns907AA1BA7C30Ercamesz@127.0.0.1>
Subject: Re: [Xnews] Crash bug
Date: Thu, 05 Apr 2001 13:55:36 GMT
From: rcameszREMOVETHIS@dds.removethistoo.nl (Robert Amesz)
References: <pK4y6.226$uo6.45599@typhoon.southeast.rr.com> <Xns9077E824DBF5Cluutrangeocities@206.13.28.182> <8Bey6.2189$uo6.803739@typhoon.southeast.rr.com> <Xns9078D9C99929Eluutrangeocities@206.13.28.182>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!isdnet!grolier!dispose.news.demon.net!news.demon.nl!demon!amesz.demon.nl!not-for-mail
Newsgroups: news.software.readers
Reply-To: rcamesz@dds.nl
NNTP-Posting-Host: amesz.demon.nl
X-NNTP-Posting-Host: amesz.demon.nl:212.238.72.220
X-Trace: news.demon.nl 986478936 pluto:24901 NO-IDENT amesz.demon.nl:212.238.72.220
X-Complaints-To: abuse@nl.demon.net
X-Posting-Agent: Hamster/1.3.13.0
User-Agent: Xnews/4.04.02
X-Face: i/!"w>!GV8UL{^20`L2OEvvFz(T"{bFYn2<:u"5<4Blsl-isl(bTDMKVqWL?nk-VY7[[);j =yB|s]|c3nRG4c7^1#+/(D)v4ToNC;PoE=\7baN'i75%+2NhzndU~qJUTI*-v[R"l)Q$GOX3o(-#7C iY6a`%._v`G8cG`!/3,mt?pkyvjv3f}\-mZiNnXJ9EK~D>Qs(ckW8yam<<T!\Kf>`wtj3>eEAAV\
Lines: 27