예제 #1
0
 public void SetFromLineInfo(LineInfo lineInfo)
 {
     Line = lineInfo.Line;
     LinePos = lineInfo.LinePos;
     EndLine = lineInfo.EndLine;
     EndLinePos = lineInfo.EndLinePos;
 }
예제 #2
0
 public LineInfo(LineInfo lineInfo)
 {
     SetFromLineInfo(lineInfo == null ? StartingOffset : lineInfo);
 }
예제 #3
0
 public void SetLineInfo(LineInfo lineInfo)
 {
     if (lineInfo != null)
     {
         Line = lineInfo.Line;
         LinePos = lineInfo.LinePos;
         EndLine = lineInfo.EndLine;
         EndLinePos = lineInfo.EndLinePos;
     }
 }