http://bugs.winehq.org/show_bug.cgi?id=21661
--- Comment #4 from Dylan Smith dylan.ah.smith@gmail.com 2010-06-14 11:48:37 --- Created an attachment (id=28830) --> (http://bugs.winehq.org/attachment.cgi?id=28830) richedit: Clear temp style even when ENM_SELCHANGE isn't used.
The temporary style is used for setting the format of empty selections or to preserve the format during certain text insertions like typing. For some reason clearing the temporary style seemed to be dependent on an event mask having the ENM_SELCHANGE flag.
I tried modifying Wine's wordpad to not use the ENM_SELCHANGE event mask flag, and found this behaviour to be inconsistent with native wordpad. Fixing this inconsistency would probably fix this bug. If you could test with this patch then that would be great.