Ticket #14735 (new defect)
RichTextCtrl underline not working correctly on Windows
|Reported by:||transana||Owned by:|
|Keywords:||underline windows RichTextCtrl||Cc:|
On Windows, ApplyUnderlineToSelection() doesn't always show up immediately. If you underline a selection, the underlining for that original selection won't show up until a subsequent Underline, Bold, or Italics call is made elsewhere.
Removing underlining always occurs immediately. Bold and Italics work immediately. Underlining works fine on lines that also contain bold or italics, but not when used alone. The same code that fails on Windows works correctly on Ubuntu and OS X.
I've verified this in wxPython 18.104.22.168 and 22.214.171.124, and was referred here by Robin Dunn, who suggested this was more likely a wxWidgets issue than a wxPython issue.