class RuboCop::Cop::Layout::LineLength

def excess_range(uri_range, line, line_index)

def excess_range(uri_range, line, line_index)
  excessive_position = if uri_range && uri_range.begin < max
                         uri_range.end
                       else
                         highlight_start(line)
                       end
  source_range(processed_source.buffer, line_index + 1,
               excessive_position...(line_length(line)))
end