public static void Remove(this ITEDoc doc, int offset, int length) { doc.Replace(offset, length, ""); }
public static void Insert(this ITEDoc doc, int offset, string Text) { doc.Replace(offset, 0, Text); }