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

Alex Villací­s Lasso a_villacis at palosanto.com
Mon May 5 11:17:20 CDT 2008


Alex Villacís Lasso escribió:
> 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
Before AJ shoots down this patch, I will. A C++ style comment slipped in 
the first try. Sending fixed patch.


-- 
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/20080505/25d55878/attachment-0001.bin 


More information about the wine-patches mailing list