richedit: Implemented EM_STOPGROUPTYPING, fixed undo grouping (with tests)

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Jun 23 17:44:26 CDT 2008


Dylan Smith escribió:
> EM_STOPGROUPTYPING simply ends the undo coalescing transaction.  The
> remarks for this message on MSDN explains what events stops group
> typing, which led me to adding the delete key to the actions that stop
> group typing.
>
> The tests that are included with this patch verify the correctness of
> the changes.
>
> This patch depends on a previous patch I submitted, which has an email
> subject "[6/44] richedit: Implemented undo coalescing to group typing
> events", and was submitted on June 17.
> ---
>  dlls/riched20/editor.c       |   12 ++++++++++--
>  dlls/riched20/tests/editor.c |   40 ++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 50 insertions(+), 2 deletions(-)
>   
This patch has the corresponding test. Could you please send a patch 
(one or more) that would test the behaviors fixed by the previous 
patches? This will make it more likely for AJ to accept the patches, and 
will also prevent someone (such as myself) from accidentally breaking 
fixed behavior with further changes.

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




More information about the wine-devel mailing list