'Highlight the left and right parens'

def create_tag_parens(self, indices):

    if (self.text.get(indices[1]) in (')', ']', '}')):
        rightindex = (indices[1] + '+1c')
    else:
        rightindex = indices[1]
    self.text.tag_add('paren', indices[0], (indices[0] + '+1c'), (rightindex + '-1c'), rightindex)
    self.text.tag_config('paren', self.HILITE_CONFIG)
