Hi all,
I'm quite a rookie in wxPython in OOP in general, so
please be indulgent
At the moment I'm writing a tiny PJL/PCL App using
wxPython and the wrapping around Scintilla (aka
wxStyledTextCtrl). I would like to have basic syntax
highlighting in the WxStyledTextCtrl. Then I browsed
the mailing list and found plenty of entries
copncerning lexer, recyling the C lexer and other
stuff. I read the Scintilla documentation ,it just
increased my confusion. I'm totally lost ! How to
recycle the Python or C's lexer and define my own
keywords list ?
At the moment I'm writing a tiny PJL/PCL App using
wxPython and the wrapping around Scintilla (aka
wxStyledTextCtrl). I would like to have basic syntax
highlighting in the WxStyledTextCtrl. Then I browsed
the mailing list and found plenty of entries
copncerning lexer, recyling the C lexer and other
stuff. I read the Scintilla documentation ,it just
increased my confusion. I'm totally lost ! How to
recycle the Python or C's lexer and define my own
keywords list ?
You could start with the code in demo/wxStyledTextCtrl_2.py as an example.
路路路
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!