Indeed. Thanks for pointing that out. The modifications will be made and posted.
On Thu, 16 Mar 2006 22:31:40 -0800 (PST) Brian Chang brianch@seas.ucla.edu wrote:
- /* get the current selection and text length */
- RichEditANSIWndProc(hWnd, EM_GETSEL, (WPARAM) &start, (LPARAM)
&end);
- textlen = RichEditANSIWndProc(hWnd, WM_GETTEXTLENGTH, 0, 0);
This looks strange... Why not use ME_GetSelection() and ME_GetTextLength()?
-- Ph.