richedit: bCaretAtEnd should not be reset from rewrapping text.
commit6f9f01f28f7a191d3f62b9f72e6afe787aeb0c43
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 23 Jun 2008 21:09:58 +0000 (23 17:09 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 Jun 2008 09:24:13 +0000 (25 11:24 +0200)
treef65849223797bac4b1568f3f97eed776d0cb4574
parentc8e2552ad9b79cd7ab8ba68e8a50fa0ae46b6de5
richedit: bCaretAtEnd should not be reset from rewrapping text.

The bCaretAtEnd value in ME_TextEditor is used to identify that the
caret is at the end of a wrapped line instead of the start of the next
line in the paragraph since both these positions correspond to the
same position in the document. The bCaretAtEnd value was previously
being set back to FALSE whenever the window was resized.
dlls/riched20/caret.c
dlls/riched20/run.c