richedit: (7/8) Insertion style must NOT be cleared unless selection actually changed.

Alex Villací­s Lasso a_villacis at palosanto.com
Wed Jun 18 11:11:15 CDT 2008


Raddecay, an application to display information about radioactive 
isotopes, fails to set styles correctly because it redundantly sets the 
selection to the same place as it was, and builtin richedit clears the 
insertion style regardless of whether the selection actually changed. 
Tests show that the behavior is indeed buggy. Patch attached with tests.

Changelog:
* Insertion style must NOT be cleared unless selection actually changed.
* Tests to verify this behavior.

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-richedit-Insertion-style-must-NOT-be-cleared-unless.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080618/5ed96a8a/attachment-0001.bin 


More information about the wine-patches mailing list