Changing the color scheme of a wx.stc.StyledTextCtrl

Hey everyone,

I have a question: I’m using a PyShell, which is supposed to be derived from wx.stc.StyledTextCtrl. How do I change the color scheme it uses? I dug into the source code but couldn’t really find it.

Thanks,
Ram Rachum

cool-RR wrote:

Hey everyone,

I have a question: I'm using a PyShell, which is supposed to be derived from |wx.stc.StyledTextCtrl|. How do I change the color scheme it uses? I dug into the source code but couldn't really find it.

See setStyles() in wx.py.editwindow.

···

--
Robin Dunn
Software Craftsman