wxPython, Syntax highlighting

E

Eric von Horst

Hi,

I am looking for wx widget that has the ability to show text, edit the
text (like a TextCtrl) but also does syntax highlighting (if the text
is e.g. XML or HTML).
I have been looking in the latest wxPython version but I could not
really find anything.

Any suggestions?

(I need this because my collegue who is very Java-minded can
apparently do that without any problems)

Kd
 
J

Justin Ezequiel

I am looking for wx widget that has the ability to show text, edit the
text (like a TextCtrl) but also does syntax highlighting (if the text
is e.g. XML or HTML).
I have been looking in the latest wxPython version but I could not
really find anything.

see
..\wxPython2.6 Docs and Demos\samples\ide\ActiveGridIDE.py
 
C

Christian

Eric said:
Hi,

I am looking for wx widget that has the ability to show text, edit the
text (like a TextCtrl) but also does syntax highlighting (if the text
is e.g. XML or HTML).
I have been looking in the latest wxPython version but I could not
really find anything.

Have a look at StyledTextControl (wx.stc) in the demo.

Christian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top