[Bug 21661] RichEdit: Wrong behaviour when formating an empty selection

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 14 11:48:37 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=21661





--- Comment #4 from Dylan Smith <dylan.ah.smith at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list