http://bugs.winehq.org/show_bug.cgi?id=22758
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net 2010-05-19 07:10:02 --- (In reply to comment #4)
Created an attachment (id=28072)
--> (http://bugs.winehq.org/attachment.cgi?id=28072) [details]
richedit: Send EN_SELCHANGE after wrapping but before EN_CHANGE.
I believe that the second regression has to do with the order of notification messages. EN_SELCHANGE needs to be sent to the parent window before EN_CHANGE, which seems like it can simply be done in ME_UpdateRepaint.
Try the attached patch instead of my previous one (again after reverting the commit that caused the regression).
I think you may have attached the wrong file--this one seems to be the same as the first one. In any case, it doesn't fix the problem.