Skip to content

struct Grits::LineData
inherits Struct #

Constructors#

.new(origin : Char, new_lineno : Int32, old_lineno : Int32, num_lines : Int64, content_offset : Int64, content : String, hunk : HunkData)#

Methods#

#clone#

#content : String#

#content_offset : Int64#

#copy_with(origin _origin = @origin, new_lineno _new_lineno = @new_lineno, old_lineno _old_lineno = @old_lineno, num_lines _num_lines = @num_lines, content_offset _content_offset = @content_offset, content _content = @content, hunk _hunk = @hunk)#

#hunk : HunkData#

#new_lineno : Int32#

#num_lines : Int64#

#old_lineno : Int32#

#origin : Char#