Syntax Highlighting in a tkinter Text widget

Nicholas Cannon nicholascannon1 at gmail.com
Tue Oct 7 07:35:50 CEST 2014


Hey guys Im working on an open source text editor(https://github.com/nicodasiko/Text-Config-2) and I would like to add syntax highlighting(mainly for python code). I have built the editor in python and the text input is a Text tkinter widget. I know how to add tags and highlight things  but Im not sure on how to constantly update the highlighting.



More information about the Python-list mailing list