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