richedit: Clicking below end of text now selects closest character

Dylan Smith dylan.ah.smith at
Wed May 7 12:00:03 CDT 2008

Before, the end of the text was selected when clicking below the end
of the text, rather than using the x position to find the appropriate
character on the last row that is closest to the pixel position.

This behaviour was observed in wordpad on Windows XP, and EM_CHARFROMPOS
is documented on MSDN as getting information about the character closest
to a specified point.
 dlls/riched20/caret.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: richedit-select-closest-character.diff
Type: text/x-diff
Size: 778 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list