Dylan Smith : richedit: Use ME_Cursor instead of offsets for ME_SetCharFormat.

Alexandre Julliard julliard at winehq.org
Wed Aug 12 11:10:43 CDT 2009


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

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Wed Aug 12 09:06:13 2009 -0400

richedit: Use ME_Cursor instead of offsets for ME_SetCharFormat.

The test that succeeded from this change was as a result of allowing the
end of the character format change be specified using NULL as the rest
of the text.  Before, the end paragraph run at the end of the text was
not being set for this case, when all the text was supposed to have its
character format changed.

---

 dlls/riched20/editor.c       |   12 ++++--
 dlls/riched20/editor.h       |    2 +-
 dlls/riched20/para.c         |   17 +++++---
 dlls/riched20/run.c          |   86 +++++++++++++++++++++++++++---------------
 dlls/riched20/tests/editor.c |    2 +-
 dlls/riched20/undo.c         |    5 ++-
 6 files changed, 80 insertions(+), 44 deletions(-)

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



More information about the wine-cvs mailing list