Method of ITextDocument
Inserts or overwrites a string and a new line at the current cursor position
TextDocument.writeln(strText);
TextDocument.writeln strText
HRESULT hr = TextDocument.writeln(strText);
ITextDocument