scripting:api:text-document:writeln

writeln

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);