implement EM_GETTEXTEX in riched20

Marcus Meissner meissner at suse.de
Wed Jun 29 09:41:10 CDT 2005


On Wed, Jun 29, 2005 at 09:02:34AM -0500, Aric Stewart wrote:
> implementation for EM_GETTEXTEX in riched20

> Index: dlls/riched20/editor.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/riched20/editor.c,v
> retrieving revision 1.32
> diff -u -r1.32 editor.c
> --- dlls/riched20/editor.c	21 Jun 2005 20:53:14 -0000	1.32
> +++ dlls/riched20/editor.c	29 Jun 2005 14:00:17 -0000
> @@ -845,7 +845,6 @@
>    UNSUPPORTED_MSG(EM_GETRECT)
>    UNSUPPORTED_MSG(EM_GETREDONAME)
>    UNSUPPORTED_MSG(EM_GETSCROLLPOS)
> -  UNSUPPORTED_MSG(EM_GETTEXTEX)
>    UNSUPPORTED_MSG(EM_GETTEXTLENGTHEX)
>    UNSUPPORTED_MSG(EM_GETTEXTMODE)
>    UNSUPPORTED_MSG(EM_GETTYPOGRAPHYOPTIONS)
> @@ -1184,6 +1183,30 @@
>      return RichEditANSIWndProc(hWnd, EM_GETTEXTRANGE, 0, (LPARAM)&tr);
>    }
>    case EM_GETSELTEXT:
> +  case EM_GETTEXTEX:
> +  {

I do not think this is what you want. You now have both cases
in one ...

Ciao, Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050629/48bd9d69/attachment.pgp


More information about the wine-devel mailing list