Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion RichTextCtrl.ApplyUnderlineToS election() problem on Windows
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Woods  
View profile  
 More options Oct 4 2012, 5:28 pm
From: David Woods <trans...@gmail.com>
Date: Thu, 04 Oct 2012 16:28:49 -0500
Local: Thurs, Oct 4 2012 5:28 pm
Subject: RichTextCtrl.ApplyUnderlineToSelection() problem on Windows

Hi all,

I'm having a problem with text formatting in the RichTextCtrl on Windows
only.  I see the same thing in wxPython 2.8.12.1 and 2.9.4.0.  I've
tried Windows 7 and Windows XP, as well as OS X and Ubuntu.  It fails on
Windows, not OS X or Linux.

The RichTextCtrl has handy formatting methods for
ApplyBoldToSelection(), ApplyItalicToSelection() and
ApplyUnderlineToSelelction().  But 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 or Bold call is made elsewhere.  
Removing underlining always occurs immediately. Bold and Italics appear
to work immediately.  Underlining appears to work if called immediately
AFTER Bold.  But sometimes it doesn't happen immediately.

Update(), Refresh(), and UpdateWindowUI() have no effect.

I've attached a simple sample.

1.  Can others replicate this?

2.  Is there a workaround anyone can find?

3.  Is this an issue with my code, wxPython, or wxWidgets?

Thanks in advance,
David

  RTF Format Problem.py
3K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.