public static void ReplaceWith(this ILineView lineView, string value) { lineView.MoveTo(0); lineView.TypeOver(value); if (lineView.Position != lineView.Length) { lineView.Delete(lineView.Length - lineView.Position); } }
public void ApplyTo(ILineView lineView) { lineView.ReplaceWith(Content); lineView.MoveTo(Position); }