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_c
> 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.SetP
Hi.
I use wxPy version 2.4.2 for Python 2.3.
Now I wanted to use the wxStyledTextCtrl for viewing (editing) of sql
code.
I have the following:
self.__m_styled_text_ctrl = wxPython.stc.wxStyledTextCtrl(
self, wx.NewId(),
style=wxPython.wx.wxNO_FULL_REPAINT_ON_RESIZE