[Bug 8132] Hyperlink rendering not turned off if link is at end of line

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 5 18:40:02 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=8132


Alex Villacís Lasso <a_villacis at palosanto.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|wine-bugs at winehq.org        |a_villacis at palosanto.com
             Status|NEW                         |ASSIGNED




--- Comment #6 from Alex Villacís Lasso <a_villacis at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list