Python Syntax Highlighting

Hi! I am making a python IDE. I made an input box to fill the whole screen. How do you add Python Syntax Highlighting?

I would add a HTML Label echoing the text being editted, but showing a dictionary based text replace of syntax elements wrapped with html highlight colors.

Use the text box changed event to catch new characters, and create your own dictionary map for what you want to highlight.

Sorry, I have no samples for you.

1 Like

Ok but how?

1 Like

Thanks. I will try this later :slightly_smiling_face:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

@ABG Remember this:

What you sent me was old. Is there a different way?
@Taifun Sorry if I did something wrong :blush:

no you did not... I just moved your question into the correct thread and reopened it
Taifun

1 Like