示例#1
0
 public static void SetText(this ITextDocument doc, string text)
 {
     doc.DeleteAt(0, doc.TextLength);
     doc.InsertAt(0, text);
 }