[1/2] richedit: Added test for correct behaviour for callingEditWordBreakProc.

Dmitry Timoshkov dmitry at codeweavers.com
Wed Oct 22 23:16:33 CDT 2008


"Dylan Smith" <dylan.ah.smith at gmail.com> wrote:

> EditWordBreakProc documented the third parameter as being the number of
> unicode characters in the string for richedit 2.0 and up.  It turns out
> that it should actually be the number of bytes in the string.

Have you tried to set a unicode word break proc? The behaviour you see
could be explained by the use of SendMessageA in your test, or even most
likely an ANSI richedit window (RICHEDIT_CLASS vs. RICHEDIT_CLASSW).

-- 
Dmitry.



More information about the wine-devel mailing list