richedit: Implemented undo coalescing to group typing events

Dylan Smith dylan.ah.smith at gmail.com
Wed Jun 25 09:29:19 CDT 2008


Consecutively typed characters are grouped together to be undone
together.  The grouping of typed characters can be stopped by certain
events that are mentioned in MSDN's remarks on the EM_STOPGROUPTYPING
message, which is also implemented by this patch.
---
 dlls/riched20/editor.c       |   37 ++++++++++---
 dlls/riched20/editor.h       |    6 ++-
 dlls/riched20/editstr.h      |    3 +-
 dlls/riched20/list.c         |    1 +
 dlls/riched20/tests/editor.c |   30 +++++-----
 dlls/riched20/undo.c         |  118 ++++++++++++++++++++++++++++++++++++++---
 6 files changed, 159 insertions(+), 36 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-richedit-Implemented-undo-coalescing-to-group-typing.diff
Type: text/x-diff
Size: 18619 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080625/5374d18b/attachment-0001.diff 


More information about the wine-patches mailing list