Example #1
0
 public CaretWriter(CaretWriter caret)
 {
     this.old     = caret;
     this.Builder = new StringBuilder();
     this.Start   = new CaretPosition(caret.End.X, caret.End.Y);
     this.End     = this.Start;
 }
Example #2
0
 /// <summary>
 /// CaretWriter. For specialized input. Still under testing/writing. Takes a StringBuilder as a parameter.
 /// </summary>
 /// <param name="b"></param>
 public CaretWriter()
 {
     this.old     = null;
     this.Builder = new StringBuilder();
     this.Start   = new CaretPosition(Cursor.X, Cursor.Y);
     this.End     = this.Start;
 }