[2/4] richedit: Implemented paragraph selection
Dylan Smith
dylan.ah.smith at gmail.com
Mon Jul 7 10:03:59 CDT 2008
Paragraphs can be selected in native richedit controls by double
clicking on the selection bar. This patch implements that behaviour.
I tried to take advantage of some of the similarities between selecting
lines and selecting paragraphs, so refactored the code to take advantage
of these similarities. ME_LButtonDown should now be easier to read
since a lot of the code has been moved to ME_SelectByType.
---
dlls/riched20/caret.c | 101 ++++++++++++++++++++++++++++++----------------
dlls/riched20/editor.h | 2 +-
dlls/riched20/editstr.h | 3 +-
3 files changed, 69 insertions(+), 37 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-richedit-Implemented-paragraph-selection.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080707/98387d17/attachment.txt
More information about the wine-patches
mailing list