[ wxwindows-Bugs-1906223 ] RTC leaks formatting after an URL was
clicked
SourceForge.net
noreply at sourceforge.net
Mon Mar 3 04:22:10 PST 2008
Bugs item #1906223, was opened at 2008-03-03 13:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1906223&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: Must fix
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andrej Sinicyn (andrej4000)
Assigned to: Julian Smart (juliansmart)
Summary: RTC leaks formatting after an URL was clicked
Initial Comment:
I use the RTC to print chat text out.
If a line contains a URL, it is formatted accordingly.
When I just insert a new line, it is alright.
If I click on the URL and process and then insert a new line it gets formatted with the attributes of the URL (where the caret goes to when I click) including the URL attribute.
Resetting the caret via SetCaretPosition before writing a new line doesn't help. Only if I click somewhere outsite the URL in the RTC and only then print a new line it is formatted properly without those attributes.
Even if I specify a wxRichTextAttr with intended formatting, I still get the bug.
I could reproduce this bug on wxMSW and wxGTK using C++ and a friend of mine reproduced whis on wxMSW using Python.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1906223&group_id=9863
More information about the wx-dev
mailing list