[5/6] richedit: Implemented triple click selection

Dylan Smith dylan.ah.smith at gmail.com
Sat Jul 5 03:24:14 CDT 2008

Triple click selection was implemented as native richedit controls, and
has the following behaviour:
* Triple click on the text selects a paragraph
* Triple click on the selectionbar selects all the text

Further repeated clicking toggles between double click and triple click

The double click check was implemented by adapting the code in function
process_mouse_message in user32/message.c.  The code was adapted to
count mouse clicks rather than translate double clicks.
 dlls/riched20/caret.c   |   26 ++++++++++++++++++---
 dlls/riched20/editor.c  |   56 +++++++++++++++++++++++++++++++++++++++++++++-
 dlls/riched20/editstr.h |    3 +-
 3 files changed, 78 insertions(+), 7 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005-richedit-Implemented-triple-click-selection.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080705/66b30634/attachment.txt 

More information about the wine-patches mailing list