Update Text-document

Will send a pull request to original developer
Merge pull request #1 from chris-thompson/master

Update Text-document