[wxPython] (no subject)

Hi all,
I'm quite a rookie in wxPython in OOP in general, so
please be indulgent :wink:
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 ?

Regards

Yann

路路路

--

Get your free email from www.linuxmail.org

Powered by Outblaze

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!