title: How to highlight text in a tkinter Text widget
body: <p>I want to know how to change the style of certain words and expressions based on certain patterns.</p>
  
  <p>I am using the <code>Tkinter.Text</code> widget and I am not sure how to do such a thing (the same idea of syntax highlighting in text editors). I am not sure even if this is the right widget to use for this purpose.</p>