Module: wine Branch: master Commit: 97a83147b3ce867604088fec0072290c044ed30e URL: http://source.winehq.org/git/wine.git/?a=commit;h=97a83147b3ce867604088fec00...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Fri Dec 19 09:54:58 2008 -0500
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 | 203 +++++++++++++++++++------------------------------ dlls/riched20/wrap.c | 3 +- 2 files changed, 81 insertions(+), 125 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=97a83147b3ce867604088f...