Return a tuple of indices describing all ranges of text tagged with tagName. The result alternates start and end indices, so that elements 2*i and 2*i+1 bound the i-th range.
tkinter/Text.tag_ranges
Text.tag_ranges