richedit: Implemented undo coalescing to group typing events

Dylan Smith dylan.ah.smith at gmail.com
Wed May 7 01:01:58 CDT 2008


The implementation is based on what I have observed in wordpad within
Windows XP. Consecutively typed characters appear to be grouped
together until the control loses focus, or the cursor is moved with the
mouse or keyboard arrows.
---
 dlls/riched20/editor.c  |    8 +++-
 dlls/riched20/editor.h  |    2 +
 dlls/riched20/editstr.h |    3 +-
 dlls/riched20/list.c    |    1 +
 dlls/riched20/undo.c    |  104 +++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 112 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: richedit-undo-coalescing.diff
Type: text/x-diff
Size: 10002 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080507/6108eed6/attachment.diff 


More information about the wine-patches mailing list