Hi.

Thanks it works now .. i must reset the default styles with
StyleClearAll and then set the styles apropriate again.

Is there a way that the keyword list isn't case sensitive, as sql
isn't.

reg,
Pierre

jean-michel bain-cornu wrote:
> > 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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to