Dylan Smith : richedit: Store paragraph in cursors.

Alexandre Julliard julliard at winehq.org
Tue Feb 10 07:45:34 CST 2009


Module: wine
Branch: master
Commit: ecb6c2169c1006382e2f5ece72f0e31bd297f305
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecb6c2169c1006382e2f5ece72f0e31bd297f305

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Mon Feb  9 12:01:35 2009 -0500

richedit: Store paragraph in cursors.

This prevents some needless searching for the start of the paragraph
from a run stored in a cursor.  Usually a pointer to the paragraph is
already available when the cursor is set anyway.

---

 dlls/riched20/caret.c   |   80 ++++++++++++++++++++++++++++++++--------------
 dlls/riched20/editor.c  |   52 +++++++++++++++++-------------
 dlls/riched20/editstr.h |    1 +
 dlls/riched20/paint.c   |    6 +--
 dlls/riched20/para.c    |   49 +++++++++++++++++-----------
 dlls/riched20/run.c     |   33 ++++++++++---------
 dlls/riched20/table.c   |   27 +++++++++++-----
 dlls/riched20/undo.c    |    4 +-
 8 files changed, 156 insertions(+), 96 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=ecb6c2169c1006382e2f5ece72f0e31bd297f305



More information about the wine-cvs mailing list