Beispiel #1
0
 /// <summary>
 /// Convert a <see cref="LinePosition"/> to a position.
 /// </summary>
 public int GetPosition(LinePosition position)
 {
     return(this[position.Line].Start + position.Character);
 }