User Profile

Collapse

Profile Sidebar

Collapse
thebigonions
thebigonions
Last Activity: May 14 '14, 02:56 PM
Joined: Apr 28 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ok, the problem is that I was saving my text as HTML. I changed it to save as XML, now I can read it in as Rich Text.
    See more | Go to post

    Leave a comment:


  • Help with RichTextCtrl.Refresh() and self.Layout()

    Hello,
    I have a RichTextCtrl on my panel that I am trying to show some rich text in. I have read in the rich text in HTML format. I am using a MVC format so my view (RichTextCtrl) is in separate code from my controller. In my controller I am trying:

    Code:
    out = StringIO()
    handler = rt.RichTextXMLHandler()
    buffer = self.view.rtEditor.GetBuffer()
    buffer.AddHandler(handler)
    out.wirte(content)
    out.seek(0)
    ...
    See more | Go to post
    Last edited by Rabbit; Apr 28 '14, 03:45 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Working...