class Diff::LCS::Hunk

def context_range(mode, op, last = false)

range has only one item in it. Otherwise, it's 'start,end'
Generate a range of item numbers to print. Only print 1 number if the
def context_range(mode, op, last = false)
  case mode
  when :old
    s, e = (@start_old + 1), (@end_old + 1)
  when :new
    s, e = (@start_new + 1), (@end_new + 1)
  end
  e -= 1 if last
  e = 1 if e.zero?
  s < e ? "#{s}#{op}#{e}" : e.to_s
end