richedit: Avoid re-calculating positions found in wrapping for painting.
commit97a83147b3ce867604088fec0072290c044ed30e
authorDylan Smith <dylan.ah.smith@gmail.com>
Fri, 19 Dec 2008 14:54:58 +0000 (19 09:54 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 20 Dec 2008 10:43:29 +0000 (20 11:43 +0100)
treea8abae3e018210971a255fe73018f94720a0335d
parentdc03b6b2f25cc4aa63ad2776943f55fd3f5aa656
richedit: Avoid re-calculating positions found in wrapping for painting.

When the text is wrapped, the positions for all the runs, paragraphs,
and cells are already calculated and stored.  The only thing left to do
for painting is to offset them by the formatting rectangle and the
scroll position.
dlls/riched20/paint.c
dlls/riched20/wrap.c