richedit: Avoid notifying parent window in improper state.
commit049cf5aca0a2daafe0ce078757ad60f1a1cadc9e
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 15 May 2010 00:11:28 +0000 (14 20:11 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 May 2010 10:42:31 +0000 (17 12:42 +0200)
tree0943be299481a45e62da12ff64f9e6f803dd9d78
parentd728169d97a881f252fcac5e8d5de8e41cc2a71b
richedit: Avoid notifying parent window in improper state.

ME_CommitUndo and ME_CommitCoalescingUndo call ME_SendSelChange, which
may notify the parent window that the selection has changed, therefore
should generally be called after wrapping the text. Otherwise, the parent
window may send a message to the editor and cause an assertion failure.
dlls/riched20/editor.c
dlls/riched20/richole.c