Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }