viewing XML files

ROY ZINN wrote:

Thanks Robin,

i was looking at the styledtextctrl, but i didn't figure out how to use the XML lexer...
can you give me a simple example ?

You can generally follow the StyledTextCtrl_2 sample in the demo, but set the lexer to STC_LEX_XML, and set the styles using the STC_H_* style constants.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!