http://bugs.winehq.org/show_bug.cgi?id=8132
Alex Villacís Lasso a_villacis@palosanto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |a_villacis@palosanto.com Status|NEW |ASSIGNED
--- Comment #6 from Alex Villacís Lasso a_villacis@palosanto.com 2008-05-05 18:40:01 --- Created an attachment (id=12760) --> (http://bugs.winehq.org/attachment.cgi?id=12760) richedit: WM_SETTEXT must immediately autodetect URLs, without waiting for a WM_CHAR
Auto URL detection in current richedit is quite brittle. It only works when inputting text via WM_CHAR (typing on the keyboard), and not via any other means. In addition, it won't terminate the link attribute when inserting a paragraph break, as shown by this bug. This is the first of a series of patches to fix this.
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.
Might need patch from http://bugs.winehq.org/attachment.cgi?id=12759 before applying cleanly.