Open
Description
Kornelius Kalnbach wrote:
I think we need some special tokens for that:
@encoder.line_number 308 || nil
sets a new index, which is automatically increased for each line until another one is set.nil
turns off line numbers.- Maybe we need to send a @@encoder.there_will_be_line_numbers@, which would be equivalent to
@encoder.line_number = nil
.TBD:
- Do we ignore
:line_number_start
in such a case?
This is more complicated as we really need two columns (old/new line numbers) for this. Seems more like the Diff scanner will be some special thing in the future anyway.
From Redmine: http://odd-eyed-code.org/issues/310