richedit: Insertion style must NOT be cleared unless selection actually changed.
Alex Villacís Lasso
a_villacis at palosanto.com
Mon May 5 11:38:52 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.
* 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...
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080505/0a4cb795/attachment.bin
More information about the wine-patches