richedit: Use ME_Cursor instead of offsets for ME_SetCharFormat.
commit2da0d8e933b087a3edb87a18e5a44dd4d336603b
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 12 Aug 2009 13:06:13 +0000 (12 09:06 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 12 Aug 2009 15:35:50 +0000 (12 17:35 +0200)
tree70dd617a577b420ce04e948a3e60568901b70edb
parentade37203a533354d1806aea93176bdacd181e249
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
dlls/riched20/editor.h
dlls/riched20/para.c
dlls/riched20/run.c
dlls/riched20/tests/editor.c
dlls/riched20/undo.c