public LineInfo(int line, int index, long startPosition, int offset, bool endOfTail = false) { Line = line; Index = index; Start = startPosition; End = -1; Offset = offset; Type = LineIndexType.Relative; EndOfTail = endOfTail; }
public LineInfo(int line, int index, long startPosition, long endPosition, bool endOfTail = false) { Line = line; Index = index; Start = startPosition; End = endPosition; Offset = 0; Type = LineIndexType.Absolute; EndOfTail = endOfTail; }