richedit: Implemented undo coalescing to group typing events
Dylan Smith
dylan.ah.smith at gmail.com
Wed May 7 08:56:01 CDT 2008
Please replace the previous patch with this one. I noticed that I missed
coalescing the backspace or delete key events for undo operations.
My description in the last email also failed to mention:
Any other events between typing of characters prevents the characters
from being grouped together for a single undo.
Change Log Entry: Added undo coalescing for rich edit controls.
On Wed, May 7, 2008 at 2:01 AM, Dylan Smith <dylan.ah.smith at gmail.com> wrote:
> 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: 10681 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080507/9734d5fa/attachment-0001.diff
More information about the wine-patches
mailing list