[ wxwindows-Bugs-1806479 ] wxRichText URL issues

SourceForge.net noreply at sourceforge.net
Tue Feb 26 05:48:01 PST 2008


Bugs item #1806479, was opened at 2007-10-02 17:23
Message generated for change (Comment added) made by juliansmart
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1806479&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Brian A. Vanderburg II (brianvanderburg)
Assigned to: Julian Smart (juliansmart)
Summary: wxRichText URL issues

Initial Comment:
These are just two small issues I've noticed when using wxRichTextCtrl and URLs.

1.  I noticed it is possible to remove a URL style from text simply by using attr.SetURL(wxEmptyString).

In a control with a URL, when this is done the URL is no longer click-able (it no longer generates the URL events) but when the cursor is positioned over the text that was a URL, it still shows up as a hand.  Saving and reloading the contents causes it to show up correctly.

2.  When the URL is the first/last on a line, clicking to the left/right of a URL (but not on the URL) still causes a text URL event to be created.

----------------------------------------------------------------------

>Comment By: Julian Smart (juliansmart)
Date: 2008-02-26 13:48

Message:
Logged In: YES 
user_id=59495
Originator: NO

1. I think it's reasonable that you don't get events for an empty string.
If not, we can remove the test "if (!urlTarget.IsEmpty())" in
wxRichTextCtrl::OnLeftUp.
     
2. Now fixed. Thanks!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1806479&group_id=9863




More information about the wx-dev mailing list