docs: def get_style_ranges(self, **kwargs):
          """Return a list of start, end pairs that match the specified style
          """
          style_bits = self.get_style_bits(**kwargs)
          matches = (self.style & style_bits) == style_bits
          return self.bool_to_ranges(matches)