'Parse a diff range and setup internal state'

def parse(self, range_str):

    (start, count) = _parse_range_str(range_str)
    self.value = start
    self.max_value = max((start + count), self.max_value)
