public override string ToString() { var text = (LineBeforeHere != null ? LineBeforeHere.ToString() : ""); if (text.Length > 10) { text = (text.Substring(0, 3) + "..." + text.Substring(text.Length - 6)); } return(String.Format("{0:D3}: {1:F3}; {2}", LineNumber, TotalDemerits, text)); }
public TLine CreateLine() { return(LineBeforeHere.Justify(Ratio)); }