In this recipe, you will learn how to configure the behavior of a tagged range of characters within a Text widget.
All the concepts are the same as those that apply to regular widgets, such as event sequences or configuration options, which have already been covered in previous recipes. The main difference is that we need to work with the text indices to identify the tagged content, instead of using object references.