new $k.TextDocument() Extends $k.AbstractTextDocument Methods Intherited methods cr(), print(object), println(object), tab(), text(), xmlWriter()