I am trying to design an assembler program with Python using Tkinter and so far it is going pretty good. I just have one question: Is there anyway to change the text color of just a selected text using a text area? What I mean is, you know how in python when you insert a comment the color of the comment is different than the color of the statements; same for function definitions etc. Instead of '#' I am using ';' for comments but I have no idea how to implement this.
I've googled it up but with no results. All that comes up is how to change the overall text color, i.e of the whole text area.
Any help is greatly appreciated :)