Does the STC define default fonts/colours etc for the
builtin lexers? From my code below, I just get a window
that has no bold, no different fonts, or colours. I had
assumed it would define default ones that looked somewhat
pretty.
class ViewSourceFrame(wx.Frame):
def __init__(self, parent, text, id=-1):
wx.Frame.__init__(self, parent, id, "HTML Source")
stc=wx.stc.StyledTextCtrl(self, -1)
stc.SetLexer(wx.stc.STC_LEX_HTML)
stc.SetText(text)
stc.Colourise(0,-1)
Roger