http://bugs.winehq.org/show_bug.cgi?id=709
--- Comment #17 from Alex Villacís Lasso a_villacis@palosanto.com 2008-04-28 12:31:35 --- Created an attachment (id=12546) --> (http://bugs.winehq.org/attachment.cgi?id=12546) WM_SETTEXT should clear modify flag before sending WM_NOTIFY events. Fix for crash 3 of 3 caused by richedit.
As in the description, WM_SETTEXT is supposed to clear modify flag, but sent the WM_NOTIFY event of selection change *before* clearing the flag. This difference caused crash #3.