richedit: (2/8) WM_SETTEXT must immediately autodetect URLs, without waiting for a WM_CHAR

Alex Villací­s Lasso a_villacis at palosanto.com
Wed Jun 18 10:54:17 CDT 2008


Tests show that native richedit does not need to wait for a WM_CHAR to 
be sent before autodetecting URLs. In addition, EM_AUTOURLDETECT tests 
were made more exhaustive in order to find out which characters can 
start and end an URL. Fixes URL not being highlighted in Perfect! 
TextEdit, and possibly other applications.

Changelog:
* WM_SETTEXT must immediately autodetect URLs, without waiting for a 
WM_CHAR
* Tests for the above behavior

-- 
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-richedit-WM_SETTEXT-must-immediately-autodetect-URL_try2.patch
Type: text/x-patch
Size: 20323 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080618/a9315ebc/attachment-0001.bin 


More information about the wine-patches mailing list