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);
     }
 }
Example #2
0
 public void ApplyTo(ILineView lineView)
 {
     lineView.ReplaceWith(Content);
     lineView.MoveTo(Position);
 }