Method: Lines#set_status

Defined in:
lib/glark/output/lines.rb

#set_status(startline, endline) ⇒ Object



95
96
97
98
99
# File 'lib/glark/output/lines.rb', line 95

def set_status startline, endline
  fromline = [0, startline - @before].max
  toline = endline + @after
  @stati.set_match fromline, startline, endline, toline
end