richedit: Handle starting in EOL sequence in EM_GETTEXTRANGE.
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 27 Jan 2009 08:39:17 +0000 (03:39 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 27 Jan 2009 10:21:16 +0000 (11:21 +0100)
commit61f189cec8cb9bcca8f60ac0f10cedb59bcf1cd9
tree799a1a1e1f1dac11b7d358c24940d7706d56c900
parent5bf9e73dd097eecc7739cff3329db8aa8ec1901f
richedit: Handle starting in EOL sequence in EM_GETTEXTRANGE.

EM_GETTEXTRANGE allows the start character offset and end characters
offset to be used to specify the range of text to retrieve.  If the
start offset is in the middle of an end of paragraph run (i.e. \r\n),
then it should only retrieve the characters after the specified
character offset.
dlls/riched20/editor.c
dlls/riched32/tests/editor.c