In this chapter, we have learned all about Tkinter's indexing system. We know how to structure an index, combining the line number and character number with a full stop character to create an index such as 3.15.
We then covered how this system is applied to provide greater functionality, including tags and searches.
Tags are Tkinter's way of adjusting the styling options of a certain range of text, marked by beginning and end indexes. We have seen a lot of different styling options which we can change using tags, including the text color, which allows us to achieve syntax highlighting. We know how to configure and remove tags as we need them.
Searching a Text widget using a loop is well-practiced. We know how to use Tkinter's special ...