wxStyledTextCtrl and sql syntax highlightning

jean-michel bain-cornu jmbc at nospam.fr
Wed Jun 21 04:36:58 EDT 2006


> I have the following:
>         self.__m_styled_text_ctrl = wxPython.stc.wxStyledTextCtrl(
>                         self, wx.NewId(),
> style=wxPython.wx.wxNO_FULL_REPAINT_ON_RESIZE)
>         self.__m_styled_text_ctrl.SetLexer(wxPython.stc.wxSTC_LEX_SQL)
>         self.__m_styled_text_ctrl.SetProperty("fold", "1")
>         self.__m_styled_text_ctrl.SetMargins(0,0)
>         self.__m_styled_text_ctrl.SetKeyWords(0, SQL_KEYWORDS)
Hi Pierre,
I'd like to do some tests with your stuff, but I'd appreciate to have a 
working sample. Would you like to post it ?
Regards,
jm



More information about the Python-list mailing list