Fixing an issue of tkinter tags overlapping

If you’ve worked with tkinter’s Text widget, you may notice that when you add many tags to it sometimes things get messed. So let’s dive right into this. We will use syntax highlighting as an example. Explaining our goal Consider we have the following code, from tkinter import * class Files(Frame):     def __init__(self, parent):         Frame.__init__(self,… Continue Reading Fixing an issue of tkinter tags overlapping